From owner-freebsd-hackers Sat Nov 20 16: 1:25 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 D6E0714C84 for ; Sat, 20 Nov 1999 16:01:22 -0800 (PST) (envelope-from assar@foo.sics.se) Received: (from assar@localhost) by foo.sics.se (8.9.3/8.9.3) id BAA00832; Sun, 21 Nov 1999 01:01:29 +0100 (CET) (envelope-from assar) To: Garance A Drosihn Cc: hackers@FreeBSD.ORG Subject: Re: Portable way to compare struct stat's? References: <3836DF98.9A84EC44@newsguy.com> <3836F873.D3B989FE@softweyr.com> From: Assar Westerlund Date: 21 Nov 1999 01:01:29 +0100 In-Reply-To: Garance A Drosihn's message of "Sat, 20 Nov 1999 16:43:04 -0500" Message-ID: <5l1z9kn25i.fsf@foo.sics.se> Lines: 17 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 Garance A Drosihn writes: > At 12:37 PM -0700 11/20/99, Wes Peters wrote: > >It's not broken in this case. 2^16 (st_dev) is certainly enough to uniquely > >indentify all mounted filesystems, and 2^32 is (by definition) enough to > >uniquely indentify each of the files on a filesystem. Why can't a file system have more than 2^32 files? > Hmm, I'm not so sure. In AFS land we have 162 different cells > "in AFS". Yeah, actually four 32-bit numbers identify all files in AFS-space uniquely. That would mean making `ino_t' be a 128-bit number. Can you say `long long long' ? (I don't think it's practical to use more than one device, and you would still need 112 bits). /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message