Execute a command before mounting what's in /etc/fstab - how?

Michael Eager eager at eagercon.com
Mon Nov 19 19:59:26 UTC 2007


Chris G wrote:
> I have a Freecom network disk which needs the following to be executed
> before I can mount it using an entry in /etc/fstab :- 
> 
>     echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled
> 
> Is there any neat way I can get this command executed during the boot
> sequence before the entries in /etc/fstab are mounted?

Drives are mounted in rc.sysinit.  You can add your
line before this happens.

-- 
Michael Eager	 eager at eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077




More information about the users mailing list