Re: Quota file format proposal

Jan Kara (jack@atrey.karlin.mff.cuni.cz)
Fri, 28 May 1999 10:54:20 +0200


> > * We don't have good estimation of how large should hash table be
> > and resizing it is really pain.
>
> Most system administrators know how many users are on their
> machines. Set a reasonable default for small machines
> and allow this to be overridden on the command line by the
> utility that writes the quota file.
<snip>
> Changing the size of the hash table can be done by exporting
> and importing the quota file -- something already done
> by edquota.
OK. I agree that the problems with size can be dealed somehow.
Still there is an issue of speed. Going through lists in hash bucket
costs us really a lot... Probably I'll write it and try to do some
tests...

> On 32-bit UIDs and GIDs in general. Linux *really* needs
> these. In an enterprise trying to implement enterprise-
> wide security, UNIXen UIDs have to be unique and can never
> be reused. For universities with large student populations,
> a 16-bit UID space is consumed very quickly.
I agree that 16-bit IDs must be removed. But 32-bit will be
hopefully available in 2.3 using current design too as support
for files <4GB will be done. I'm not refusing the idea of some
more clever structure. I'm just saying it's good to think twice...

Honza.

-
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/