ChangeLog, mke2fs.8.in, mke2fs.c:
mke2fs.c (PRS): Allow the user to specify exactly how many inodes
he/she wishes.
diff --git a/misc/mke2fs.8.in b/misc/mke2fs.8.in
index cad2540..df8cc99 100644
--- a/misc/mke2fs.8.in
+++ b/misc/mke2fs.8.in
@@ -29,6 +29,10 @@
.I bytes-per-inode
]
[
+.B \-N
+.I number-of-inodes
+]
+[
.B \-m
.I reserved-blocks-percentage
]
@@ -105,6 +109,12 @@
.I bytes-per-inode
must be at least 1024.
.TP
+.I -N number-of-inodes
+overrides the default calculation of the number of inodes that should be
+reserved for the filesystem (which is based on the number of blocks and
+the bytes-per-inode ratio). This allows the user to specify the number
+of desired inodes directly.
+.TP
.I -l filename
Read the bad blocks list from
.I filename.