On Thursday 29 March 2007 14:14, [EMAIL PROTECTED] wrote:
> I'm having problems getting a couple of 4Gb USB pen-drives to
> mount at boot-time.
>...
> with the USB memories being /mnt/1 and /mnt/2  - and I can then
> happily use them.
>
> Reboot though, and they go away.
>
> mount -a brings them back. I need the system to be resilient
> against power failures so any advice on automounting the flash-
> drives at boot time would be appreciated.
>
> --Wolf.

Hi, Wolf

I don't if this works for you, but here  is how I load some external modules 
after booting:

On your foxboard, there is a special directory located at
/etc/init.d/boottime

When the FoxBorad has booted  _all_ programs found in this directory are run 
from the script 
/bin/start_ok.sh 

So all I had to do was create a new script   
/etc/init.d/boottime/load_modules

--cut--------------------------------------------------------------

#!/bin/sh
# File load_modules
# this script loads my own modules after booting the board
insmod iowarrior
insmod spinwarrior

--cut------------------------------------------------------------

and make the script executeable :
chmod a+x /etc/init.d/boottime/load_modules

So you simply have to create a script that mounts your Flash-drives and put it 
in the '/etc/init.d/boottime' directory.

Eberhard


  


 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

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

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

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

Reply via email to