From owner-freebsd-doc@FreeBSD.ORG Thu Jan 2 17:24:39 2014 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1F9DF327 for ; Thu, 2 Jan 2014 17:24:39 +0000 (UTC) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC8BA1E57 for ; Thu, 2 Jan 2014 17:24:38 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id en1so18946386wid.5 for ; Thu, 02 Jan 2014 09:24:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=frvhXYdt5/Qwhf+2YFtmVYzOcNgRcSljJN+aUS0NKnE=; b=GNIPeMzw6OKvfijUy8eJlzyf0awr3cyaMME9L6Ydt9TWN4LqaMsfOVlDVQu9LeBOvY ZDeBLF54h7H4xl9Ss85tjmWEogBo1dDmzOT79dBd96ppXBpfCRsB/+G8XblBg65MFvIm pq0Lpz++OWAHbYd9oLARrkk+852CPHM8o36vcZcflykaGq7TMfhwvuy/igCvlEbYUJ5c CC87NK41MWtZxT5LgLLRt5htt6Xj1ihfzTAc7HTcKqI0jbInvlsg2vYNJbmmYIir/O+0 2TBTdj7vH+j1+Wmm9lif+TWBbPFUraIkoVvMTXibuSngq7Bs2fNVfQcvywKETH45tDWa Nygw== MIME-Version: 1.0 X-Received: by 10.194.174.36 with SMTP id bp4mr57556569wjc.7.1388683476927; Thu, 02 Jan 2014 09:24:36 -0800 (PST) Received: by 10.217.117.197 with HTTP; Thu, 2 Jan 2014 09:24:36 -0800 (PST) In-Reply-To: References: Date: Thu, 2 Jan 2014 21:24:36 +0400 Message-ID: Subject: Re: Handbook: File System Quotas From: Sergey Kandaurov To: =?ISO-8859-2?Q?Micha=B3_J=EAdrzejczak?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-doc@FreeBSD.org" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 17:24:39 -0000 On 2 January 2014 19:37, Micha=C5=82 J=C4=99drzejczak 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 @@ options QUOTA - The GENERIC kernel does not - have this enabled by default, so a custom kernel must be + Prior to &os; 9.2 + the GENERIC 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 for more information on kernel configuration. --=20 wbr, pluknet