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

Chris G cl at isbd.net
Tue Nov 20 09:51:18 UTC 2007

On Mon, Nov 19, 2007 at 11:59:26AM -0800, Michael Eager wrote:
> 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.
... but it'll get lost on next install, surely there's a "proper"
place to do it.

Chris Green

More information about the fedora-list mailing list