kern/141050: fstab(5): Problem with userquota,
groupquota parameters in /etc/fstab
Andriy Gapon
avg at freebsd.org
Thu Apr 29 10:12:46 UTC 2010
http://www.freebsd.org/cgi/query-pr.cgi?pr=141050
I'd like to fix the issue with the following patch.
Could you please review and/or test it?
Thanks!
Index: sys/ufs/ffs/ffs_vfsops.c
===================================================================
--- sys/ufs/ffs/ffs_vfsops.c (revision 207366)
+++ sys/ufs/ffs/ffs_vfsops.c (working copy)
@@ -124,10 +124,16 @@
#endif
};
+/*
+ * Note that userquota and groupquota options are not currently used
+ * by UFS/FFS code and generally mount(8) does not pass those options
+ * from userland, but they can be passed by loader(8) via
+ * vfs.root.mountfrom.options.
+ */
static const char *ffs_opts[] = { "acls", "async", "noatime", "noclusterr",
- "noclusterw", "noexec", "export", "force", "from", "multilabel",
- "nfsv4acls", "snapshot", "nosuid", "suiddir", "nosymfollow", "sync",
- "union", NULL };
+ "noclusterw", "noexec", "export", "force", "from", "groupquota",
+ "multilabel", "nfsv4acls", "snapshot", "nosuid", "suiddir", "nosymfollow",
+ "sync", "union", "userquota", NULL };
static int
ffs_mount(struct mount *mp)
--
Andriy Gapon
More information about the freebsd-fs
mailing list