summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-11-30 19:36:40 +0000
committerru <ru@FreeBSD.org>2004-11-30 19:36:40 +0000
commit90ea024464f93a2bbd6bde87df86077b3f5a8bef (patch)
tree834630887757d64dff861b9fa3bd9b2928f22364 /sbin
parent7877cefb867947b35732cfe1667b4a3deec6e9f7 (diff)
downloadFreeBSD-src-90ea024464f93a2bbd6bde87df86077b3f5a8bef.zip
FreeBSD-src-90ea024464f93a2bbd6bde87df86077b3f5a8bef.tar.gz
Revert last change. It doesn't break mount(8) reporting
but allows a "nodev" in /etc/fstab, etc.
Diffstat (limited to 'sbin')
-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 0e22944..5205195 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, \
OpenPOWER on IntegriCloud