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 <[email protected]> --- 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 diff --git a/contrib/init/Makefile.am b/contrib/init/Makefile.am index c8740ff..7e3dd66 100644 --- a/contrib/init/Makefile.am +++ b/contrib/init/Makefile.am @@ -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 diff --git a/contrib/init/README b/contrib/init/README index 45ed56a..ae3f941 100644 --- a/contrib/init/README +++ b/contrib/init/README @@ -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 diff --git a/contrib/init/fedfs.autofs b/contrib/init/fedfs.autofs new file mode 100644 index 0000000..9ee170a --- /dev/null +++ b/contrib/init/fedfs.autofs @@ -0,0 +1 @@ +/nfs4 /usr/sbin/fedfs-map-nfs4 _______________________________________________ fedfs-utils-devel mailing list [email protected] https://oss.oracle.com/mailman/listinfo/fedfs-utils-devel
