On Tue, Mar 25, 2025 at 12:09 PM Lionel Cons <lionelcons1972@xxxxxxxxx> wrote: > > CAUTION: This email originated from outside of the University of Guelph. Do not click links or open attachments unless you recognize the sender and know the content is safe. If in doubt, forward suspicious emails to IThelp@xxxxxxxxxxx. > > > What would be - using only the NFSv4 protocol level - the most > efficient way to lookup all file names which are hardlinks to the same > file? Not exactly efficient, but doing lots of READDIR operations asking for the type and fileid attributes. You have to start at the root of the file system and read all directories until you find them all. (You'll need type to ideantify subdirectories and fileid to identify if the link applies to the given file.) Also, there is no way to guarantee that LINK or REMOVE operations will not be done by other clients to change the links while doing the above. (Really no different than any POSIX file system.) rick ps: At least that is the only way I know of doing it. > > Lionel >