On 26 Dec 2024, at 19:45, Takeshi Nishimura wrote: > Dear list, > > Is there a document which explains the structure of the Linux > NFSv4.1/4.2 client source code? No, I don't believe there is any such document. > And where can I find the code which negotiates between NFSv4.1 and > NFSv4.2 versions, and a potential NFSv4.3? For the client, that code is in the nfs-utils tree in the mount.nfs binary, source in utils/mount/stropts.c - look for "nfs_autonegotiate()". If the mount command does not specify exactly the minor version, then a mount is tried with decreasing minor versions. Ben