From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ookhoi Subject: Re: merge 2.4.21-pre4 with Direct IO bug fix Date: Mon, 10 Mar 2003 15:23:53 +0100 Message-ID: <20030310152352.F9033@humilis> References: <20030304013450.249cc096.philippe.gramoulle@mmania.com> <20030304111807.A18814@namesys.com> <20030310131528.B9033@humilis> <20030310152801.F19773@namesys.com> <20030310141605.D9033@humilis> <20030310164035.I19773@namesys.com> Reply-To: ookhoi@humilis.net Mime-Version: 1.0 Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com Content-Disposition: inline In-Reply-To: <20030310164035.I19773@namesys.com> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Oleg Drokin Cc: Ookhoi , Chris Mason , reiserfs Oleg Drokin wrote (ao): > On Mon, Mar 10, 2003 at 02:16:05PM +0100, Ookhoi wrote: > > > > And they all just apply cleanly. They must like each other very much :-) > > > > For some reason, I do not have quota support though. > > > How do you know you do not have quota support? > > o The options are not listed in /proc/mounts > > IIRC they should before quota is switched on (can't check that right > > >From the quotaon man page, it seems that these usrquota stuff are checked by > quota tools in /etc/fstab. > > > o quotacheck gives this: > > # quotacheck /dev/hda3 > > quotacheck: Can't stat() mounted device /dev/root: No such file or directory > > o quotaon gives this: > > # quotaon -ugv /www > > quotaon: Can't stat() mounted device /dev/root: No such file or directory > > Hm, I always thought that quota tools work with /etc/mtab, > don't you have /etc/mtab to be a symlink to /proc/mounts? > This might confuse it. Damned. You are right .. After rm /etc/mtab and reboot: /dev/hda2 on / type reiserfs (rw,noatime,usrquota,grpquota) /dev/hda3 on /www type reiserfs (rw,noatime,usrquota,grpquota) /dev/hda5 on /tmp type reiserfs (rw,noatime,usrquota,grpquota) /dev/hda6 on /var type reiserfs (rw,noatime,usrquota,grpquota) I owe you a beer Oleg! > > For some reason, the mount options are not listed. > > This is because reiserfs is lacking necessary callback to print it's > current mount options in /proc/mounts, I think. That would fix setups which have a link to /proc/mounts most likely? Anyway, let me know when you come to amsterdam, ok? ;-) Btw, quota works (just tested it). Thanks!!