On Mon, 23 Nov 1998 12:07:29 -0800, "G. Allen Morris III"
<gam3@dharma.sehda.com> said:
>> Different values entered in edquota yield different
>> results:
>>
>> 5000000 -> 805696
>> 7000000 -> 2805696
>>
>> so I think it's safe to say something wraps.
Yes: edquota problem. Could you look at the quotautils rpms on
ftp.uk.linux.org:/pub/linux/sct/quota and see if that fixes things? I
have run quotas above 4GB with the fixed toolset, and quotas still work
OK over NFS.
> It is in the kernel. The blocks are left shifted 10 bits in
> /usr/include/linux/quota.h. This leaves 22 bit for data.
No, that code is only there for user-mode compatibility: it is not used
by the kernel. The kernel accounts all quotas in blocks, not bytes, and
works quite happily with quotas over 2G. It's only the user level utils
which had a problem.
--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/