aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-22 12:12:17 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-22 12:12:17 +0200
commit149a32a19b8f7f38b5d39cf4f0e19a4517699f80 (patch)
tree90dc347dd3c25dac953f968e7d83c0445937daba /include
parent3945bc15340dc9cfa8aae0164f3baf94db6d40c3 (diff)
downloadbusybox-149a32a19b8f7f38b5d39cf4f0e19a4517699f80.tar.gz
mkfs_ext2: use compatible inode sizes; add -I <inodesize>. (by Vladimir)
function old new delta mkfs_ext2_main 2385 2495 +110 packed_usage 26400 26447 +47 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 157/0) Total: 157 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/include/usage.h b/include/usage.h
index 9c0d29d94..01f6daf13 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2716,7 +2716,7 @@
/* "[-c|-l filename] " */ \
"[-b BLK_SIZE] " \
/* "[-f fragment-size] [-g blocks-per-group] " */ \
- "[-i BYTES_PER_INODE] " \
+ "[-i INODE_RATIO] [-I INODE_SIZE] " \
/* "[-j] [-J journal-options] [-N number-of-inodes] " */ \
"[-m RESERVED_PERCENT] " \
/* "[-o creator-os] [-O feature[,...]] [-q] " */ \
@@ -2724,15 +2724,16 @@
"[-L LABEL] " \
"[-n] " \
/* "[-M last-mounted-directory] [-S] [-T filesystem-type] " */ \
- "DEVICE [KBYTES]"
+ "BLOCKDEV [KBYTES]"
#define mkfs_ext2_full_usage "\n" \
- "\n -b BLK_SIZE Block size in bytes" \
-/* "\n -c Check for bad blocks before creating" */ \
+ "\n -b BLK_SIZE Block size, bytes" \
+/* "\n -c Check device for bad blocks" */ \
/* "\n -E opts Set extended options" */ \
/* "\n -f size Fragment size in bytes" */ \
/* "\n -F Force (ignore sanity checks)" */ \
/* "\n -g num Number of blocks in a block group" */ \
- "\n -i BYTES The bytes/inode ratio" \
+ "\n -i RATIO Set max number of files to filesystem_size / RATIO" \
+ "\n -I BYTES Inode size (min 128)" \
/* "\n -j Create a journal (ext3)" */ \
/* "\n -J opts Set journal options (size/device)" */ \
/* "\n -l file Read bad blocks list from file" */ \
@@ -2750,7 +2751,7 @@
/* "\n -v Verbose" */ \
#define mkfs_minix_trivial_usage \
- "[-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]"
+ "[-c | -l filename] [-nXX] [-iXX] BLOCKDEV [KBYTES]"
#define mkfs_minix_full_usage "\n\n" \
"Make a MINIX filesystem\n" \
"\nOptions:" \
@@ -2761,7 +2762,7 @@
"\n -v Make version 2 filesystem" \
#define mkfs_vfat_trivial_usage \
- "[-v] [-n LABEL] FILE_OR_DEVICE [SIZE_IN_KB]"
+ "[-v] [-n LABEL] BLOCKDEV [KBYTES]"
/* Accepted but ignored:
"[-c] [-C] [-I] [-l bad-block-file] [-b backup-boot-sector] "
"[-m boot-msg-file] [-i volume-id] "