Execute a command before mounting what's in /etc/fstab - how?
akonstam at sbcglobal.net
Tue Nov 20 14:53:14 UTC 2007
On Tue, 2007-11-20 at 09:51 +0000, Chris G wrote:
> 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.
Someone suggested putting the execution in the correct place
in /etc/rc.sysinit, which seemed right to me.
Innocence ends when one is stripped of the delusion that one likes
oneself. -- Joan Didion, "On Self Respect"
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net
More information about the fedora-list