Date: Mon, 10 Mar 2008 22:44:57 -0500 From: Mike Pritchard <mpp@mail.mppsystems.com> To: Helmut Schneider <jumper99@gmx.de> Cc: Manolis Kiagias <sonicy@otenet.gr>, freebsd-bugs@freebsd.org, Mike Pritchard <mpp@mppsystems.com> Subject: Re: kern/114766: [quotas] Disk quota does not work as expected Message-ID: <20080311034457.GA91986@mail.mppsystems.com> In-Reply-To: <018b01c882a8$5a1596a0$609b65c1@vpe.de> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 10, 2008 at 01:14:54PM +0100, Helmut Schneider wrote: > From: "Manolis Kiagias" <sonicy@otenet.gr> > > >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 <servicename>_enable entry! Have a look at /etc/defaults/rc.conf and you will > >see this. > > &$$% ?%&$ ?%%?&!! > > Did that change? http://www.freebsddiary.org/quotas.php > <SIC> 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080311034457.GA91986>