How generation number gets created in NFS v2



Hi,
I know inode, filesystemID, and generation number are used to find
filehandle but how does NFS v2 create generation number? Is that just
start 1 and increment? I know v3 is random number but what about v2?

Thank you,
Paul

.



Relevant Pages

  • Re: Finding hardlinks
    ... backup apps which rely on that to detect hard links. ... That's great and will surely help most file systems (apparently not Coda as ... NFS has exactly the same problem ... correspondence of filehandle -> inode. ...
    (Linux-Kernel)
  • Re: Finding hardlinks
    ... backup apps which rely on that to detect hard links. ... Granted, many of the filesystems in the Linux kernel don't enforce that they have unique st_ino values, but I'm working on a set of patches to try and fix that. ... NFS has exactly the same problem ... It seems like we should have a one to one correspondence of filehandle -> inode. ...
    (Linux-Kernel)
  • Re: Urgent help needed on an NFS question, please help!!!
    ... I think nfs_compare_fhmight do the file handle verification task. ... I didn't find this code at the server ... > I just ran into a problem about NFS. ... This gets included in the filehandle, ...
    (Linux-Kernel)
  • Re: Finding hardlinks
    ... backup apps which rely on that to detect hard links. ... NFS has exactly the same problem ... It seems like we should have a one to one correspondence of filehandle -> inode. ...
    (Linux-Kernel)
  • Re: [opensuse] nfs_update_inode: inode X mode changed, Y to Z
    ... you obviously cannot increment the old value and use that. ... What we need is for the "filehandle" to be stable and unique. ... they must differ in at least one bit. ... If a file is deleted and the inode is re-used for a new file, ...
    (Linux-Kernel)