Handbook: File System Quotas

Sergey Kandaurov pluknet at gmail.com
Thu Jan 2 17:24:39 UTC 2014


On 2 January 2014 19:37, Michał Jędrzejczak
<jedrzejczak.michal at gmail.com> wrote:
> Hello list.
>
> The Handbook  (FreeBSD 9.2) contains bug for "18.13.1. Configuring the
> System to Enable Disk Quotas".
>
> ...
>
> Before using disk quotas, quota support must be added to the kernel by
> adding the following line to the kernel configuration file:
>
> options QUOTA
>
> The GENERIC kernel does not have this enabled by default, so a custom
> kernel must be compiled in order to use disk quotas....
>
> ..
>
>
> But:
>
> Quota support is by default in GENERIC.
>
> options         UFS_GJOURNAL            # Enable gjournal-based UFS journaling
> options         QUOTA                   # Enable disk quotas for UFS
> options         MD_ROOT                 # MD is a potential root device
>
>  uname -a
> FreeBSD hostname 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep
> 26 22:50:31 UTC 2013
> root at bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>

That's right. It is indeed included in GENERIC starting from FreeBSD 9.2
(r245003 in head, merged as r245587 to stable/9).
As such, I'd like to commit this change unless someone propose a better text.
Here "generally" means all platforms except pc98/mips/arm.

Index: disks/chapter.xml
===================================================================
--- disks/chapter.xml   (revision 43425)
+++ disks/chapter.xml   (working copy)
@@ -2365,8 +2365,9 @@

       <programlisting>options QUOTA</programlisting>

-      <para>The <filename>GENERIC</filename> kernel does not
-       have this enabled by default, so a custom kernel must be
+      <para>Prior to &os; 9.2
+       the <filename>GENERIC</filename> kernel did not have this
+       generally enabled by default, so a custom kernel had to be
        compiled in order to use disk quotas.  Refer to <xref
linkend="kernelconfig"/> for more information on
        kernel configuration.</para>

-- 
wbr,
pluknet


More information about the freebsd-doc mailing list