Skip site navigation (1)Skip section navigation (2)
Date:      21 Nov 1999 17:49:25 +0100
From:      Assar Westerlund <assar@sics.se>
To:        Wes Peters <wes@softweyr.com>
Cc:        Garance A Drosihn <drosih@rpi.edu>, hackers@FreeBSD.ORG
Subject:   Re: Portable way to compare struct stat's?
Message-ID:  <5lbt8nkcx6.fsf@foo.sics.se>
In-Reply-To: Wes Peters's message of "Sat, 20 Nov 1999 20:38:22 -0700"
References:  <XFMail.991118185611.jdp@polstra.com> <3836DF98.9A84EC44@newsguy.com> <3836F873.D3B989FE@softweyr.com> <v04210107b45cb84c49f1@[128.113.24.47]> <5l1z9kn25i.fsf@foo.sics.se> <3837692E.3EDEFBF1@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Wes Peters <wes@softweyr.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5lbt8nkcx6.fsf>