Re: Directory depth

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

 



On Sun, 20 Nov 2016 14:38:26 +0000
Baron <baron@xxxxxxxxxxxxxxx> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-users-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting




[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux