From owner-freebsd-hackers Mon Feb 22 22:37:54 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 42654118FC for ; Mon, 22 Feb 1999 22:37:52 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.1/8.9.1) with ESMTP id WAA15801; Mon, 22 Feb 1999 22:37:50 -0800 (PST) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.2/8.9.1) id WAA22825; Mon, 22 Feb 1999 22:37:50 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19990219074445.C4890@internal> Date: Mon, 22 Feb 1999 22:37:50 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: Andre Albsmeier Subject: Re: UIDs greater than 65535? Cc: hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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