ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Mounting USB pendrive

To:
Subject: Re: [ts-7000] Re: Mounting USB pendrive
From: Jason Stahls <>
Date: Sat, 19 Apr 2008 16:59:51 -0400
naturalwatt wrote:
> --- In  Kevin Cozens <> wrote:
>   
>> LaksCEO wrote:
>>     
>>> I have created a file rc.local and included the following
>>> "mount /dev/scsi/host0/bus0/target0/lun0/part1 /pendrive"
>>>  
>>> but the device is not mounted
>>>       
>> On a TS-7250 board the /etc/rc.d/rcS.sysinit script needs to be modified to 
>> call an rc.local script. Adding the following lines to rcS.sysinit will run 
>> the rc.local file when the system starts. Make sure the needed kernel 
>> modules 
>> are loaded before the mount command is issued.
>>
>> if test -x /etc/rc.d/rc.local ; then
>>          . /etc/rc.d/rc.local
>> fi
>>     
> This is obviously correct, but if the initial intention was to mount a file 
> system at boot 
> time, why not put an entry in /etc/fstab?
>
> That's what it is for!

Mostly because when fstab is queried by mount -a and mount points 
mounted the USB modules probably aren't loaded yet unless you've 
recompiled your kernel to include them or rcS to load the modules before 
mount -a

Jason Stahls

------------------------------------

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