Re: 2.5.54 - quota support

Andrew Morton
2003-01-06T01:50:44Z

Lukas Hejtmanek wrote:
>
> Hello,
>
> Is quota support currently broken?
>
> Under 2.5.54 I got:
> # quotaon /
> using //aquota.user on /dev/hda1: No such device
>
> /dev/hda1 is ext3 and aquota.user exists on it.
>
> My config is:
> CONFIG_QUOTA=y
> # CONFIG_QFMT_V1 is not set
> CONFIG_QFMT_V2=y
> CONFIG_QUOTACTL=y
>

It works for me.

grab-n-build quota-3.08 from http://sourceforge.net/projects/linuxquota
# mke2fs -j /dev/sde5
# mount /dev/sde5 /mnt/sde5 -o quota
# quotacheck -F vfsv0 /dev/sde5
# quotaon /dev/sde5
# cd /mnt/sde5
# tar xfz ~/linux-2.4.19.tar.gz
# repquota /mnt/sde5

*** Report for user quotas on device /dev/sde5
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 32828 0 0 3 0 0
akpm -- 162104 0 0 11370 0 0