summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormjf <mjf@NetBSD.org>2006-10-24 21:53:10 +0000
committermjf <mjf@NetBSD.org>2006-10-24 21:53:10 +0000
commit84bd46b9f9b944a146b9073876f6a5108dd9d02d (patch)
treef28a63cacadac5c9c228372b77e6637a69af9516 /include
parentf559eee297878d9a74a173e5331ae5e179ba391d (diff)
Add support to allow a file system to not permit being exported over NFS.
Approved by elad@ and wrstuden@
Diffstat (limited to 'include')
-rw-r--r--include/mntopts.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mntopts.h b/include/mntopts.h
index 3ba7698ee03..3666ccb954c 100644
--- a/include/mntopts.h
+++ b/include/mntopts.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mntopts.h,v 1.8 2006/10/16 03:31:27 christos Exp $ */
+/* $NetBSD: mntopts.h,v 1.9 2006/10/24 21:53:10 mjf Exp $ */
/*-
* Copyright (c) 1994
@@ -56,6 +56,7 @@ struct mntopt {
#define MOPT_SYMPERM { "symperm", 0, MNT_SYMPERM, 0 }
#define MOPT_SOFTDEP { "softdep", 0, MNT_SOFTDEP, 0 }
#define MOPT_IGNORE { "hidden", 0, MNT_IGNORE, 0 }
+#define MOPT_NOSHARE { "share", 1, MNT_NOSHARE, 0 }
/* Control flags. */
#define MOPT_FORCE { "force", 0, MNT_FORCE, 0 }
@@ -88,7 +89,8 @@ struct mntopt {
MOPT_RDONLY, \
MOPT_UNION, \
MOPT_IGNORE, \
- MOPT_SYMPERM
+ MOPT_SYMPERM, \
+ MOPT_NOSHARE
__BEGIN_DECLS
typedef struct mntoptparse *mntoptparse_t;