Whamcloud - gitweb
Clarify how the description of the dir_nlink feature in the ext4 man page
authorTheodore Ts'o <tytso@mit.edu>
Sun, 23 Jul 2017 22:51:22 +0000 (18:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 23 Jul 2017 22:51:22 +0000 (18:51 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/ext4.5.in

index c1e67ab..3511dae 100644 (file)
@@ -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