[lkml]   [2020]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectPath length and filename length linux deficiency
Hello all,

today I want to raise a topic that seems to have vanished completely since
decades. It's the length limits of pathnames and filenames. One may wonder why
to jump onto such a seemingly dead horse. But in fact it is not. We are in a
world of continous growth of file services for clouds and other user space
apps. And in this world a friend of mine tried to do something very simple:
copying a file tree ... from a w*ndows file service to a linux server. And
guess what: it does not work out.
And the simple reason: the maximum path length in w*ndows systems is 32767,
whereas linux (and POSIX) talk of a maximum of 4096 bytes. It is obvious then
that linux is effectivly unable to hold a deep tree - whereas w*ndows can.
Since I do know for sure it does not work, what are the true reasons?
How can we completely drop these limits in linux (using a capable fs of
I already asked the samba list and was confirmed that the problem is known and
that there is no easy solution for it.

 \ /
  Last update: 2020-03-31 23:41    [W:0.607 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site