From owner-freebsd-isp Tue May 25 11:45:30 1999 Delivered-To: freebsd-isp@freebsd.org Received: from kiwi.datasys.net (kiwi.datasys.net [209.119.145.2]) by hub.freebsd.org (Postfix) with ESMTP id EABF7158BF for ; Tue, 25 May 1999 11:45:12 -0700 (PDT) (envelope-from ayan@kiwi.datasys.net) Received: (from ayan@localhost) by kiwi.datasys.net (8.9.3/8.9.3) id OAA02733; Tue, 25 May 1999 14:44:58 -0400 (EDT) (envelope-from ayan) Date: Tue, 25 May 1999 14:44:58 -0400 (EDT) From: Ayan George Message-Id: <199905251844.OAA02733@kiwi.datasys.net> X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: Steve Ames , freebsd-isp@freebsd.org Subject: Re: UID Limits Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Steve, /usr/include/sys/types.h defines uid_t as a u_int32_t. /usr/include/sys/inttypes.h typedefs u_int32_t to __int32_t. /usr/include/machine/ansi.h typedefs __int32_t to int. So, uid_t is an int. sizeof( int ) on my 4.0-CURRENT machine is 4 bytes. 2^32 = 4294967296 So, I think thats how many UIDs we can have. Is that right everyone? If so, thats a lot of UIDs. -Ayan [ Quoted message from Steve Ames, recieved May 25, 1:24pm.] > > This is probably a silly question... how many UIDs can I have on a > single system? UID seems to be an int type so I'd say around > 65000ish. Rcently, however, I heard of a Solaris upgrade that would > allow it to go into the millions and wondered about FreeBSD... > > -Steve > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message [ End message from Steve Ames. ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message