aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount/mntopts.h
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-09-29 16:39:26 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-09-29 16:39:26 +0000
commit0fd4e043f4dac8d72a9e5460ba8e852535ae7421 (patch)
treed76cec2ae1bfe7555ea17013845af2901b603f3e /sbin/mount/mntopts.h
parente4b1dc5b1e1aa95f893cf604b93b7337cee7af24 (diff)
downloadsrc-0fd4e043f4dac8d72a9e5460ba8e852535ae7421.tar.gz
src-0fd4e043f4dac8d72a9e5460ba8e852535ae7421.zip
Add code to skip "userquota"/"groupquota" options needed for
quotaon/quotacheck
Notes
Notes: svn path=/head/; revision=3202
Diffstat (limited to 'sbin/mount/mntopts.h')
-rw-r--r--sbin/mount/mntopts.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/mount/mntopts.h b/sbin/mount/mntopts.h
index a89f63dc19ff..ec2c6d0ce40f 100644
--- a/sbin/mount/mntopts.h
+++ b/sbin/mount/mntopts.h
@@ -48,6 +48,10 @@ struct mntopt {
#define MOPT_SYNC { "sync", 0, MNT_SYNCHRONOUS }
#define MOPT_UNION { "union", 0, MNT_UNION }
+/* Skip this options without any action (needed for checkquota/quotaon) */
+#define MOPT_UQUOTA { "userquota", 0, 0 }
+#define MOPT_GQUOTA { "groupquota", 0, 0 }
+
/* Control flags. */
#define MOPT_FORCE { "force", 1, MNT_FORCE }
#define MOPT_UPDATE { "update", 0, MNT_UPDATE }