]> git.decadent.org.uk Git - nfs-utils.git/commit - utils/mount/nfs_mount.h
Automatically start statd when mounting an nfs filesystem.
authorNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 00:24:15 +0000 (11:24 +1100)
committerNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 00:24:15 +0000 (11:24 +1100)
commit993ec3f888a28c60d49ae0f8f1aa725b6b618a81
treef9bf13c76979fc1a4958dfad37459cb7bf823c2e
parentdad50c0e589b5651242de50e81200b036d995b73
Automatically start statd when mounting an nfs filesystem.

If statd is not running (/var/run/rpc.statd.pid) when an nfs filesystem
is mounted (v2 or v3, with remote locking enabled), and if
/usr/sbin/start-statd (or other program specified at config time) is
present, then run that program to start statd.

This means that statd does not need to be running "just in case".
It only needs to be started at boot time if the nfs server is
started.
configure.in
utils/mount/mount.c
utils/mount/nfs_mount.h
utils/mount/nfsmount.c