From owner-freebsd-hackers Sun Nov 21 8:49:28 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from foo.sics.se (foo.sics.se [193.10.66.234]) by hub.freebsd.org (Postfix) with ESMTP id 7DA0614F20 for ; Sun, 21 Nov 1999 08:49:23 -0800 (PST) (envelope-from assar@foo.sics.se) Received: (from assar@localhost) by foo.sics.se (8.9.3/8.9.3) id RAA04592; Sun, 21 Nov 1999 17:49:26 +0100 (CET) (envelope-from assar) To: Wes Peters Cc: Garance A Drosihn , hackers@FreeBSD.ORG Subject: Re: Portable way to compare struct stat's? References: <3836DF98.9A84EC44@newsguy.com> <3836F873.D3B989FE@softweyr.com> <5l1z9kn25i.fsf@foo.sics.se> <3837692E.3EDEFBF1@softweyr.com> From: Assar Westerlund Date: 21 Nov 1999 17:49:25 +0100 In-Reply-To: Wes Peters's message of "Sat, 20 Nov 1999 20:38:22 -0700" Message-ID: <5lbt8nkcx6.fsf@foo.sics.se> Lines: 14 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wes Peters writes: > Assar Westerlund wrote: > > Why can't a file system have more than 2^32 files? > > Because if it does you can't stat it! There's a great case of circular > reasoning for you. ;^) The other reasoning goes like this: va_fileid should be unique which means it needs to be large enough to make unique IDs for current filesystems, which requires it to be longer than `long long' and it's required to be an integral type, which means we should add `long'^n to GCC. /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message