Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 1999 22:37:50 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: UIDs greater than 65535?
Message-ID:  <XFMail.990222223750.jdp@polstra.com>
In-Reply-To: <19990219074445.C4890@internal>

next in thread | previous in thread | raw e-mail | index | archive | help

Andre Albsmeier wrote:
> On Thu, 18-Feb-1999 at 21:15:51 -0800, John Polstra wrote:
>> 
>> Thanks for telling me about this.  I took a brief look at it.  It
>> looks like it won't be a problem for me, as long as the UID space is
>> tightly packed.
> 
> Hmm, I don't think it is the _packing_ of the UID space. It's the high
> UID's... If I understood it correctly, the quotas are handled as an
> array of structs (one 32 Byte struct for each user). My quota
> file has a size of 2097120. That means, 2097120/32 = 65535 entries
> which is correct. If you got a user ID of 10.000.000 the quota
> array should be already 320.000.000 bytes of size at least.

I understand.  But I'm thinking in terms of, say, 80000 users with
UIDs numbered from 0 to 79999.  So in my case, there's no intrinsic
problem beyond the fact that it's a helluva lot of users.  It would
be different if I had 80000 users numbered from 1000000 to 1079999.
That's what I meant when I referred to the packing of the UID space.

John
---
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Nobody ever went broke underestimating the taste of the American public."
                                                            -- H. L. Mencken


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990222223750.jdp>