Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2014 21:24:36 +0400
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        =?ISO-8859-2?Q?Micha=B3_J=EAdrzejczak?= <jedrzejczak.michal@gmail.com>
Cc:        "freebsd-doc@FreeBSD.org" <freebsd-doc@freebsd.org>
Subject:   Re: Handbook: File System Quotas
Message-ID:  <CAE-mSOJ0C7rZOffphkLgT4ZCifVp9k01%2BodzaSzoyU_Szt_1jQ@mail.gmail.com>
In-Reply-To: <CANrxokFnK7PkQ38Gs%2B-3pBAuNVeChph7TxsYYp_Hp4DNQ2sbBA@mail.gmail.com>
References:  <CANrxokFnK7PkQ38Gs%2B-3pBAuNVeChph7TxsYYp_Hp4DNQ2sbBA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2 January 2014 19:37, Micha=C5=82 J=C4=99drzejczak
<jedrzejczak.michal@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 journ=
aling
> 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@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 tex=
t.
Here "generally" means all platforms except pc98/mips/arm.

Index: disks/chapter.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- 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;&nbsp;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=3D"kernelconfig"/> for more information on
        kernel configuration.</para>

--=20
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOJ0C7rZOffphkLgT4ZCifVp9k01%2BodzaSzoyU_Szt_1jQ>