Re: Linux NFSv4.1/4.2 client source code structure?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux