--- 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
>
> --
> Cheers!
>
> Kevin.
>
> http://www.ve3syb.ca/ |"What are we going to do today, Borg?"
> Owner of Elecraft K2 #2172 |"Same thing we always do, Pinkutus:
> | Try to assimilate the world!"
> #include <disclaimer/favourite> | -Pinkutus & the Borg
>
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!
Martin
------------------------------------
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/
|