From owner-freebsd-bugs@FreeBSD.ORG Tue Mar 11 07:24:54 2008 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C37831065670 for ; Tue, 11 Mar 2008 07:24:54 +0000 (UTC) (envelope-from mpp@mppsystems.com) Received: from mail4.gulftel.com (mail4.gulftel.com [216.231.163.45]) by mx1.freebsd.org (Postfix) with ESMTP id 8B4CC8FC22 for ; Tue, 11 Mar 2008 07:24:54 +0000 (UTC) (envelope-from mpp@mppsystems.com) Received: from localhost (localhost [127.0.0.1]) by mail4.gulftel.com (Postfix) with ESMTP id 803A6DCD8; Tue, 11 Mar 2008 01:15:00 -0500 (CDT) Received: from mail4.gulftel.com ([127.0.0.1]) by localhost (mail4.gulftel.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U6L8MGuiaE5n; Tue, 11 Mar 2008 01:15:00 -0500 (CDT) Received: from mail.mppsystems.com (unknown [99.194.188.184]) by mail4.gulftel.com (Postfix) with ESMTP id 255FDE290; Mon, 10 Mar 2008 22:44:58 -0500 (CDT) Received: by mail.mppsystems.com (Postfix, from userid 1000) id 0C3F117025; Mon, 10 Mar 2008 22:44:58 -0500 (CDT) Date: Mon, 10 Mar 2008 22:44:57 -0500 From: Mike Pritchard To: Helmut Schneider Message-ID: <20080311034457.GA91986@mail.mppsystems.com> References: <200803061850.m26Io2Xq013979@freefall.freebsd.org> <20080307004232.GA69112@mail.mppsystems.com> <001a01c88119$a0ccf010$0d7ca8c0@vpe.de> <20080309004424.GA80607@mail.mppsystems.com> <010701c88291$2b0d4d60$609b65c1@vpe.de> <47D5119B.4060300@otenet.gr> <018b01c882a8$5a1596a0$609b65c1@vpe.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <018b01c882a8$5a1596a0$609b65c1@vpe.de> User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: Manolis Kiagias , freebsd-bugs@freebsd.org, Mike Pritchard Subject: Re: kern/114766: [quotas] Disk quota does not work as expected X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 07:24:54 -0000 On Mon, Mar 10, 2008 at 01:14:54PM +0100, Helmut Schneider wrote: > From: "Manolis Kiagias" > > >Helmut Schneider wrote: > >> > >>Hm, there is no "quota" at all at boot time: > >> > >>[root@teg ~]# dmesg -a | grep -ir quota > >>root@BSDHelmut:/usr/obj/usr/src/sys/SMP-WITH-QUOTA > >>[root@teg ~]# > >> > >>According to "/etc/rc.d/quota", shouldn't there be at least a "Checking quotas:" or a "Enabling quotas:" in dmesg?! > >It should: > > > >sonic@joshua:/usr/home/sonic$ dmesg -a |grep -ir quota > >Checking quotas: > >Enabling quotas: > > > >Please check your rc.conf. You have these lines: > > > >[root@mvt ~]# cat /etc/rc.conf | grep quota > >quota_enable="YES" > >check_quotas="YES" > > > >While you should have: > > > >enable_quotas="YES" > >check_quotas="YES" > > > >It is, actually, the reverse of the usual _enable entry! Have a look at /etc/defaults/rc.conf and you will > >see this. > > &$$% ?%&$ ?%%?&!! > > Did that change? http://www.freebsddiary.org/quotas.php > Ah, that would explain everything...Looks like enable_quotas appeared in 1999. It is correctly documented in the FreeBSD handbook (whew!): http://www.freebsd.org.doc/en_US.ISO8859-1/books/handbook/quotas.html Looks like the FreeBSD diary is out of date. Thanks Manolis for catching that...I just about to go hack quotacheck and supply a patch to Helmut to try and figure out what was really going on here :) Sorry I didn't catch that earlier myself. Looks like the information in the handbook needs a little attention also, but it is basically correct. Thanks for your patience Helmut! -- Mike Pritchard mpp @ FreeBSD.org "If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." - James Madison (1787)