ts-7000
[Top] [All Lists]

Re: [ts-7000] fstab and USB

To:
Subject: Re: [ts-7000] fstab and USB
From: Jim Jackson <>
Date: Sat, 28 Oct 2006 10:01:15 +0100 (BST)


On Fri, 27 Oct 2006, weide72 wrote:

> I have successfully mounted a USB drive using the following lines.
>
> /usr/bin/loadUSBModules.sh
> mount /dev/scsi/host0/bus0/target0/lun0/part1 /USB/
>
> Checking the disk space I get.  I have deleted all the files on the
> USB drive to maximize space.
>
> $ df
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/root                29680      7612     22068  26% /
> /dev/scsi/host0/bus0/target0/lun0/part1   242775    216981     25794
> 89% /USB
>
> But, when the system is powered off and powered back on again, the
> USB is no longer mounted.  What I want to do is have the USB mount on
> start-up.  I this has something to do with editing the fstab file.
> This is what I have now but USB doesn't mount.

You need to enure that the USBModules are loaded on boot, before any USB
disk can be loaded. You can edit the startup up scripts to ensure this.
There have been some recent posts on startup in general - have a browse.
You may wish to check out the startup file   /etc/rc.d/rcS.sysinit

>
> proc /proc proc defaults  0 0
> /dev/mtdblock/1 / jffs2 0 0
> /dev/scsi/host0/bus0/target0/lun0/part1 /USB/ ext2 defaults 1 1
>
> So I am asking what is the proper way to edit the fstab to get the
> USB to mount on start-up? Do start-up scripts have to be edited so
> the correct modules are loaded?  Also, once this is achieved. Will
> the contents of the USB be erased after a power off power on cycle?
>
> Thanks
> Ryan
>
>
>
>
>


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU