Date: 21 Nov 1999 01:01:29 +0100 From: Assar Westerlund <assar@sics.se> To: Garance A Drosihn <drosih@rpi.edu> Cc: hackers@FreeBSD.ORG Subject: Re: Portable way to compare struct stat's? Message-ID: <5l1z9kn25i.fsf@foo.sics.se> In-Reply-To: Garance A Drosihn's message of "Sat, 20 Nov 1999 16:43:04 -0500" References: <XFMail.991118185611.jdp@polstra.com> <3836DF98.9A84EC44@newsguy.com> <3836F873.D3B989FE@softweyr.com> <v04210107b45cb84c49f1@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
Garance A Drosihn <drosih@rpi.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5l1z9kn25i.fsf>