Subject: Re: Quotas
To: Mike Pelley <mike@pelley.com>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: current-users
Date: 03/31/1999 10:43:04
>From a quick look at this, this limit looks like it can be fixed
without changing the kernel at all.

Quotas are maintained by the kernel and passed to/from userland in
terms of disk blocks, not bytes.

However, edquota and friends convert from blocks to kilobytes by way
of bytes.  A few judicious (off_t) casts of the arguments to the btodb
and dbtob macro invocations in quota, edquota and repquota should do
the trick, at least until we get to around 2 terabytes.  (and FFS as a
whole will run into similar limits at that point).

					- Bill