lkml.org 
[lkml]   [1999]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Quota file format proposal
> > * 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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.071 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site