Wes Peters <[EMAIL PROTECTED]> writes: > "Daniel C. Sobral" wrote: > > > > Just to expand a little bit more, some distributed filesystems *do > > not* have a unique identifier like the inode. > > So then the FreeBSD client software should create one? Do they just assign > a random number as the st_ino when stat'ing the file? If there's none, you of course have to create one. As long as you keep giving the same `va_fileid' to the same file (by remembering what files you have seen), I guess that's ok. But then I don't know of any distributed filesystem that acts this way (what's `same' in the text above?). What filesystems are like that? Looking at some existing file systems: NFS - the server returns a 32-bit file-ID AFS/Arla - files are identified by (cell, volume, vnode, uniquifier) which is hashed down to a 32 bit fileno Coda - same as AFS/Arla /assar To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: Portable way to compare struct stat's? Robert Watson
- Re: Portable way to compare struct stat's? John Polstra
- Re: Portable way to compare struct stat's? Garance A Drosihn
- Re: Portable way to compare struct stat... John Polstra
- Re: Portable way to compare struct... Daniel C. Sobral
- Re: Portable way to compare st... Wes Peters
- Re: Portable way to compare st... Daniel C. Sobral
- Re: Portable way to compare st... Daniel C. Sobral
- Re: Portable way to compare st... Wes Peters
- Re: Portable way to compare st... Robert Watson
- 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 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