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

John Summerfield debian at herakles.homelinux.org
Mon Nov 19 22:59:55 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?
> 
sysctl (/etc/sysctl.conf) might do this.


-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

Please do not reply off-list




More information about the users mailing list