Date: Thu, 29 Apr 2010 13:12:41 +0300 From: Andriy Gapon <avg@freebsd.org> To: bug-followup@freebsd.org, piotr.matuszczyk@expro.pl, freebsd-fs@freebsd.org Subject: Re: kern/141050: fstab(5): Problem with userquota, groupquota parameters in /etc/fstab Message-ID: <4BD95B99.8040600@freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BD95B99.8040600>