[ale] Q: how do I start NFS exports at boot in RH-7.*

Fletch fletch at phydeaux.org
Thu Jul 25 14:21:54 EDT 2002


>>>>> "Amarendra" == Amarendra Godbole <(Intl Vendor)" <v-amarg at microsoft.com>> writes:


[...]

    Amarendra> followed by the service name. All those services whose
    Amarendra> file names start with K won't be started when the
    Amarendra> machine boots, while those with S will be started when
    Amarendra> the machine boots. So, just move the file which has
    Amarendra> `nfs' in its name (see above). The next reboot will
    Amarendra> start all the NFS daemons.


        Actually, if the name starts with K it'll be run with an
argument `stop' when that run level is entered (whereas if it starts
with an S it gets `start').  If you use the RedHat chkconfig utility
it'll manage the symlinks for you, placing the apropriate K and S
links in the various runlevel directories to enable or disable the
service when a particular run level is entered (and put things at the
correct place in the sequence if there are dependencies between
several services; nfs for example wants to be linked as S60nfs if you
look at the comments at the top of /etc/rc.d/init.d/nfs (at least on
my RH7.3 box)). 


-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
770 933-0600 x211(w)  |  scary questions." -- Jules                =(___)=
770 294-0820 (m)      |                                               U

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list