@@ -23,7 +23,8 @@
## http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
##
-EXTRA_DIST = fedfs README rpcfedfsd rpcfedfsd.service
+EXTRA_DIST = fedfs README rpcfedfsd rpcfedfsd.service \
+ fedfs.autofs
CLEANFILES = cscope.in.out cscope.out cscope.po.out *~
DISTCLEANFILES = Makefile.in
@@ -24,3 +24,5 @@ rpcfedfsd Sample SysV start-up script for rpc.fedfsd; typically
rpcfedfsd.service Sample systemd service file for rpc.fedfsd; see
http://0pointer.de/blog/projects/systemd-for-admins-3.html
for further details
+
+fedfs.autofs Copy into /etc/auto.master.d to enable /nfs4 program map
new file mode 100644
@@ -0,0 +1 @@
+/nfs4 /usr/sbin/fedfs-map-nfs4
Instead of editing /etc/auto.master, the fedfs-map-nfs4 program map can be enabled by adding a configuration file under /etc/auto.master.d . Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- contrib/init/Makefile.am | 3 ++- contrib/init/README | 2 ++ contrib/init/fedfs.autofs | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 contrib/init/fedfs.autofs