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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux