summaryrefslogtreecommitdiffstats
path: root/utils/exportfs
diff options
context:
space:
mode:
authorneilbrown <neilbrown>2000-03-07 22:50:17 +0000
committerneilbrown <neilbrown>2000-03-07 22:50:17 +0000
commita16f7fecdb5f9ba95dd4bb8c745bb4f770510e11 (patch)
tree8929a8017725f1f2439684319287e7df48e7a2db /utils/exportfs
parente02308004d80ae50f5b156ba477410bb28e39b30 (diff)
downloadnfs-utils-a16f7fecdb5f9ba95dd4bb8c745bb4f770510e11.tar.gz
nfs-utils-a16f7fecdb5f9ba95dd4bb8c745bb4f770510e11.tar.xz
nfs-utils-a16f7fecdb5f9ba95dd4bb8c745bb4f770510e11.zip
add reporting of nohide, insecure_locks and no_subtree_check in
exportfs -V cvs: ----------------------------------------------------------------------
Diffstat (limited to 'utils/exportfs')
-rw-r--r--utils/exportfs/exportfs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c
index 44761f8..c3bb5ba 100644
--- a/utils/exportfs/exportfs.c
+++ b/utils/exportfs/exportfs.c
@@ -354,6 +354,8 @@ dump(int verbose)
c = dumpopt(c, "async");
if (ep->e_flags & NFSEXP_GATHERED_WRITES)
c = dumpopt(c, "wdelay");
+ if (ep->e_flags & NFSEXP_CROSSMNT)
+ c = dumpopt(c, "nohide");
if (ep->e_flags & NFSEXP_INSECURE_PORT)
c = dumpopt(c, "insecure");
if (ep->e_flags & NFSEXP_ROOTSQUASH)
@@ -362,6 +364,10 @@ dump(int verbose)
c = dumpopt(c, "no_root_squash");
if (ep->e_flags & NFSEXP_ALLSQUASH)
c = dumpopt(c, "all_squash");
+ if (ep->e_flags & NFSEXP_NOSUBTREECHECK)
+ c = dumpopt(c, "no_subtree_check");
+ if (ep->e_flags & NFSEXP_NOAUTHNLM)
+ c = dumpopt(c, "insecure_locks");
if (ep->e_maptype == CLE_MAP_UGIDD)
c = dumpopt(c, "mapping=ugidd");
else if (ep->e_maptype == CLE_MAP_FILE)