summaryrefslogtreecommitdiffstats
path: root/sbin/mount/mntopts.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-09-29 16:39:26 +0000
committerache <ache@FreeBSD.org>1994-09-29 16:39:26 +0000
commit445ab444e1597c9fa62fba52e9b53ba245bf6254 (patch)
treed76cec2ae1bfe7555ea17013845af2901b603f3e /sbin/mount/mntopts.h
parent5d7c4c64ff46ee920afcab53de0c65c805705556 (diff)
downloadFreeBSD-src-445ab444e1597c9fa62fba52e9b53ba245bf6254.zip
FreeBSD-src-445ab444e1597c9fa62fba52e9b53ba245bf6254.tar.gz
Add code to skip "userquota"/"groupquota" options needed for
quotaon/quotacheck
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 a89f63d..ec2c6d0 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 }
OpenPOWER on IntegriCloud