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