You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
4 years ago
|
From 72f9ce9c2e6b7b41963c36096d3955e010df9033 Mon Sep 17 00:00:00 2001
|
||
|
From: Theodore Ts'o <tytso@mit.edu>
|
||
|
Date: Sun, 23 Jul 2017 18:51:22 -0400
|
||
|
Subject: [PATCH 1/2] Clarify how the description of the dir_nlink feature in
|
||
|
the ext4 man page
|
||
|
|
||
|
commit 7d8f358cdce948df57b1001b9c278f33519afa86
|
||
|
|
||
|
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
|
||
|
---
|
||
|
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 dcef6c08..366916d8 100644
|
||
|
--- a/misc/ext4.5.in
|
||
|
+++ b/misc/ext4.5.in
|
||
|
@@ -68,7 +68,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 extent
|
||
|
.br
|
||
|
--
|
||
|
2.20.1
|
||
|
|