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/
|