Hi Guys,
On Sunday 20 November 2016 17:42:26 E. Liddell wrote:
On Sun, 20 Nov 2016 14:38:26 +0000
Baron <baron(a)linuxmaniac.net> wrote:
Quick question. 32 Bit LinuxOS, Trinity 14.0.
Is there a limit to directory depth ? if so what is it.
I believe the limit is the length of the path in bytes, which will
vary according to what filesystem you're using, how your kernel is
configured, etc.
What documentation I can find suggests 4096 bytes is often set as
the limit. So if you haven't done any special setup and you're
using single-character directory names on ext4 or similar, that's a
bit more than 2000 levels of nesting, although you might run out of
inodes or something first. Using sane directory names will give
you less depth: 7 characters -> ~500 levels.
There is one exception to this: the filesystem normally used for
data CDs seems to have a hard-coded limit of eight directory levels
regardless of path length.
E. Liddell
I think this nails it ! I've been trying to backup a directory to a
DVD and whilst the path gets copied the directory is empty and
nothing gets recorded in it. Net result a DVD with an empty
directory tree.
Thanks both, your quick replies are appreciated.
--
Best Regards:
Baron