aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount/mntopts.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-11-30 19:36:40 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-11-30 19:36:40 +0000
commit798dec9dfb6cac081955cd4e6ff44c3d4ab19194 (patch)
tree834630887757d64dff861b9fa3bd9b2928f22364 /sbin/mount/mntopts.h
parent06faf06ac5d954ec12a65e88a886bc01355c9bfe (diff)
downloadsrc-798dec9dfb6cac081955cd4e6ff44c3d4ab19194.tar.gz
src-798dec9dfb6cac081955cd4e6ff44c3d4ab19194.zip
Revert last change. It doesn't break mount(8) reporting
but allows a "nodev" in /etc/fstab, etc.
Notes
Notes: svn path=/head/; revision=138234
Diffstat (limited to 'sbin/mount/mntopts.h')
-rw-r--r--sbin/mount/mntopts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/mount/mntopts.h b/sbin/mount/mntopts.h
index 0e229446c0a9..5205195fd3f1 100644
--- a/sbin/mount/mntopts.h
+++ b/sbin/mount/mntopts.h
@@ -40,6 +40,7 @@ struct mntopt {
/* User-visible MNT_ flags. */
#define MOPT_ASYNC { "async", 0, MNT_ASYNC, 0 }
#define MOPT_NOATIME { "atime", 1, MNT_NOATIME, 0 }
+#define MOPT_NODEV { "dev", 1, MNT_NODEV, 0 }
#define MOPT_NOEXEC { "exec", 1, MNT_NOEXEC, 0 }
#define MOPT_NOSUID { "suid", 1, MNT_NOSUID, 0 }
#define MOPT_NOSYMFOLLOW { "symfollow", 1, MNT_NOSYMFOLLOW, 0 }
@@ -75,6 +76,7 @@ struct mntopt {
MOPT_GROUPQUOTA, \
MOPT_FSTAB_COMPAT, \
MOPT_NOATIME, \
+ MOPT_NODEV, \
MOPT_NOEXEC, \
MOPT_SUIDDIR, /* must be before MOPT_NOSUID */ \
MOPT_NOSUID, \