From: Theodore Ts'o Date: Sun, 23 Jul 2017 22:51:22 +0000 (-0400) Subject: Clarify how the description of the dir_nlink feature in the ext4 man page X-Git-Tag: v1.43.5~22 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=7d8f358cdce948df57b1001b9c278f33519afa86;p=tools%2Fe2fsprogs.git Clarify how the description of the dir_nlink feature in the ext4 man page Signed-off-by: Theodore Ts'o --- diff --git a/misc/ext4.5.in b/misc/ext4.5.in index c1e67ab..3511dae 100644 --- a/misc/ext4.5.in +++ b/misc/ext4.5.in @@ -69,7 +69,12 @@ ext2 file systems. .TP .B dir_nlink .br -This ext4 feature allows more than 65000 subdirectories per directory. +Normally ext4 allows an inode to have no more than 65,000 hard links. +This applies to files as well as directories, which means that there can +be no more than 64,998 subdirectories in a directory (because each of +the '..' entries counts as a hard link). This feature lifts this limit +by causing ext4 to use a links count of 1 to indicate that the number of +hard links to a directory is not known. .TP .B encrypt .br