Randell Jesup wrote: > > Robert Watson <[EMAIL PROTECTED]> writes: > >> On a single system, if st_dev and st_ino are equal, you must be referring > >> to the same object. If not, I'd like to hear about it. > > > >This assumption has always caused lots of pain and suffering for > >distributed file system people -- in a distributed file system, the > >requirement that you can generate a unique 32 bit number for each file or > >directory visible in the FS is a fairly arduous one. Either the number is > > Too bad that the "that's the way it's always been done"/"inodes > were handed down by God" arguments are so hard to overcome. 1/2 :-) Perhaps we simply need to expand the size of ino_t and carefully convert smaller types to it in the stat call? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC [EMAIL PROTECTED] http://softweyr.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: Portable way to compare st... Garance A Drosihn
- Re: Portable way to compare st... Assar Westerlund
- Re: Portable way to compare st... Wes Peters
- Re: Portable way to compare st... Assar Westerlund
- Re: Portable way to compare struct... Garance A Drosihn
- Re: Portable way to compare struct stat's? Kelly Yancey
- Re: Portable way to compare struct stat's? Bill Studenmund
- Re: Portable way to compare struct stat's? Kelly Yancey
- Re: Portable way to compare struct stat's? Peter Wemm
- Re: Portable way to compare struct stat's? Randell Jesup
- Re: Portable way to compare struct stat's? Wes Peters
- Re: Portable way to compare struct stat's? Garance A Drosihn
- Re: Portable way to compare struct stat's? Assar Westerlund
- Re: Portable way to compare struct stat... Robert Watson
- Re: Portable way to compare struct... Garance A Drosihn
- Re: Portable way to compare struct stat... Randell Jesup
- Re: Portable way to compare struct... Assar Westerlund
- Re: Portable way to compare st... Randell Jesup
- Re: Portable way to compare st... Assar Westerlund
- Re: Portable way to compare struct stat's? Randell Jesup