From 7d8f358cdce948df57b1001b9c278f33519afa86 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 23 Jul 2017 18:51:22 -0400 Subject: [PATCH] Clarify how the description of the dir_nlink feature in the ext4 man page Signed-off-by: Theodore Ts'o --- misc/ext4.5.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 1.8.3.1