Re: PATH_MAX/max symlink length in the NFSv4/v4.1 protocol?

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

 



On Mon, 04 Dec 2023, Cedric Blancher wrote:
> Good evening!
> 
> Does NFSv4/v4.1 have a limit similar to PATH_MAX? What about
> symlinks/reparse points? Is there no limit, or is the limit
> configurable, or is the limit >= 4096?

See:
 https://www.rfc-editor.org/rfc/rfc5661

There is no explicit limit.
The local filesystem on the server might impose a limit, but the
protocol itself does not.

The protocol *does* declare that a symlink is valid UTF-8.  Linux
doesn't enforce this.  This might sometimes cause confusion.  But the
length should not.

NeilBrown


> 
> Ced
> -- 
> Cedric Blancher <cedric.blancher@xxxxxxxxx>
> [https://plus.google.com/u/0/+CedricBlancher/]
> Institute Pasteur
> 
> 





[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