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-w32-149a32a19b8f7f38b5d39cf4f0e19a4517699f80.tar.gz
busybox-w32-149a32a19b8f7f38b5d39cf4f0e19a4517699f80.tar.bz2
busybox-w32-149a32a19b8f7f38b5d39cf4f0e19a4517699f80.zip
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 @@
2716 /* "[-c|-l filename] " */ \ 2716 /* "[-c|-l filename] " */ \
2717 "[-b BLK_SIZE] " \ 2717 "[-b BLK_SIZE] " \
2718 /* "[-f fragment-size] [-g blocks-per-group] " */ \ 2718 /* "[-f fragment-size] [-g blocks-per-group] " */ \
2719 "[-i BYTES_PER_INODE] " \ 2719 "[-i INODE_RATIO] [-I INODE_SIZE] " \
2720 /* "[-j] [-J journal-options] [-N number-of-inodes] " */ \ 2720 /* "[-j] [-J journal-options] [-N number-of-inodes] " */ \
2721 "[-m RESERVED_PERCENT] " \ 2721 "[-m RESERVED_PERCENT] " \
2722 /* "[-o creator-os] [-O feature[,...]] [-q] " */ \ 2722 /* "[-o creator-os] [-O feature[,...]] [-q] " */ \
@@ -2724,15 +2724,16 @@
2724 "[-L LABEL] " \ 2724 "[-L LABEL] " \
2725 "[-n] " \ 2725 "[-n] " \
2726 /* "[-M last-mounted-directory] [-S] [-T filesystem-type] " */ \ 2726 /* "[-M last-mounted-directory] [-S] [-T filesystem-type] " */ \
2727 "DEVICE [KBYTES]" 2727 "BLOCKDEV [KBYTES]"
2728#define mkfs_ext2_full_usage "\n" \ 2728#define mkfs_ext2_full_usage "\n" \
2729 "\n -b BLK_SIZE Block size in bytes" \ 2729 "\n -b BLK_SIZE Block size, bytes" \
2730/* "\n -c Check for bad blocks before creating" */ \ 2730/* "\n -c Check device for bad blocks" */ \
2731/* "\n -E opts Set extended options" */ \ 2731/* "\n -E opts Set extended options" */ \
2732/* "\n -f size Fragment size in bytes" */ \ 2732/* "\n -f size Fragment size in bytes" */ \
2733/* "\n -F Force (ignore sanity checks)" */ \ 2733/* "\n -F Force (ignore sanity checks)" */ \
2734/* "\n -g num Number of blocks in a block group" */ \ 2734/* "\n -g num Number of blocks in a block group" */ \
2735 "\n -i BYTES The bytes/inode ratio" \ 2735 "\n -i RATIO Set max number of files to filesystem_size / RATIO" \
2736 "\n -I BYTES Inode size (min 128)" \
2736/* "\n -j Create a journal (ext3)" */ \ 2737/* "\n -j Create a journal (ext3)" */ \
2737/* "\n -J opts Set journal options (size/device)" */ \ 2738/* "\n -J opts Set journal options (size/device)" */ \
2738/* "\n -l file Read bad blocks list from file" */ \ 2739/* "\n -l file Read bad blocks list from file" */ \
@@ -2750,7 +2751,7 @@
2750/* "\n -v Verbose" */ \ 2751/* "\n -v Verbose" */ \
2751 2752
2752#define mkfs_minix_trivial_usage \ 2753#define mkfs_minix_trivial_usage \
2753 "[-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]" 2754 "[-c | -l filename] [-nXX] [-iXX] BLOCKDEV [KBYTES]"
2754#define mkfs_minix_full_usage "\n\n" \ 2755#define mkfs_minix_full_usage "\n\n" \
2755 "Make a MINIX filesystem\n" \ 2756 "Make a MINIX filesystem\n" \
2756 "\nOptions:" \ 2757 "\nOptions:" \
@@ -2761,7 +2762,7 @@
2761 "\n -v Make version 2 filesystem" \ 2762 "\n -v Make version 2 filesystem" \
2762 2763
2763#define mkfs_vfat_trivial_usage \ 2764#define mkfs_vfat_trivial_usage \
2764 "[-v] [-n LABEL] FILE_OR_DEVICE [SIZE_IN_KB]" 2765 "[-v] [-n LABEL] BLOCKDEV [KBYTES]"
2765/* Accepted but ignored: 2766/* Accepted but ignored:
2766 "[-c] [-C] [-I] [-l bad-block-file] [-b backup-boot-sector] " 2767 "[-c] [-C] [-I] [-l bad-block-file] [-b backup-boot-sector] "
2767 "[-m boot-msg-file] [-i volume-id] " 2768 "[-m boot-msg-file] [-i volume-id] "