Patchwork mke2fs: clarify inode ratio in man page

login
register
mail settings
Submitter Phillip Susi
Date Jan. 25, 2013, 3:53 p.m.
Message ID <1359129223-7366-1-git-send-email-psusi@ubuntu.com>
Download mbox | patch
Permalink /patch/215786/
State New
Headers show

Comments

Phillip Susi - Jan. 25, 2013, 3:53 p.m.
The man page still said it was not possible to change the number
of inodes on a filesystem after creating it.  You actually can
by resizing the fs, so clarify this language a bit.

Signed-off-by: Phillip Susi <psusi@ubuntu.com>
---
 misc/mke2fs.8.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/misc/mke2fs.8.in b/misc/mke2fs.8.in
index 023ba49..5e5e889 100644
--- a/misc/mke2fs.8.in
+++ b/misc/mke2fs.8.in
@@ -340,9 +340,9 @@  bytes of space on the disk.  The larger the
 ratio, the fewer inodes will be created.  This value generally shouldn't
 be smaller than the blocksize of the filesystem, since in that case more
 inodes would be made than can ever be used.  Be warned that it is not
-possible to expand the number
-of inodes on a filesystem after it is created, so be careful deciding the
-correct value for this parameter.
+possible to change this ratio on a filesystem after it is created, so be
+careful deciding the correct value for this parameter.  Note that resizing
+a filesystem changes the numer of inodes to maintain this ratio.
 .TP
 .BI \-I " inode-size"
 Specify the size of each inode in bytes.