diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-18 16:29:30 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-18 16:29:30 +0200 |
commit | 77da1cae94acbeef90da66bf6530556fe191a6e2 (patch) | |
tree | 712db9a18d648b14cc6c7e587e8c4edbe11fd079 /include | |
parent | f37eb3999bce2ea46fef0214e33279b81609e596 (diff) | |
download | busybox-w32-77da1cae94acbeef90da66bf6530556fe191a6e2.tar.gz busybox-w32-77da1cae94acbeef90da66bf6530556fe191a6e2.tar.bz2 busybox-w32-77da1cae94acbeef90da66bf6530556fe191a6e2.zip |
mkfs_ext2: make it able to create images larger than 4G
function old new delta
mkfs_ext2_main 1904 2145 +241
has_super 29 23 -6
PUT 52 40 -12
packed_usage 26807 26792 -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 241/-33) Total: 208 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index b906d8dac..bdd9ae33b 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2717,11 +2717,12 @@ | |||
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 BYTES_PER_INODE] " \ |
2720 | /* "[-j] [-J journal-options] [-N number-of-inodes] [-n] " */ \ | 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] " */ \ |
2723 | /* "[r fs-revision-level] [-E extended-options] [-v] [-F] " */ \ | 2723 | /* "[r fs-revision-level] [-E extended-options] [-v] [-F] " */ \ |
2724 | "[-L LABEL] " \ | 2724 | "[-L LABEL] " \ |
2725 | "[-n] " \ | ||
2725 | /* "[-M last-mounted-directory] [-S] [-T filesystem-type] " */ \ | 2726 | /* "[-M last-mounted-directory] [-S] [-T filesystem-type] " */ \ |
2726 | "DEVICE [BLK_COUNT]" | 2727 | "DEVICE [BLK_COUNT]" |
2727 | #define mkfs_ext2_full_usage "\n" \ | 2728 | #define mkfs_ext2_full_usage "\n" \ |
@@ -2738,7 +2739,7 @@ | |||
2738 | "\n -L LBL Volume label" \ | 2739 | "\n -L LBL Volume label" \ |
2739 | "\n -m PERCENT Percent of blocks to reserve for admin" \ | 2740 | "\n -m PERCENT Percent of blocks to reserve for admin" \ |
2740 | /* "\n -M dir Set last mounted directory" */ \ | 2741 | /* "\n -M dir Set last mounted directory" */ \ |
2741 | /* "\n -n Don't actually create anything" */ \ | 2742 | "\n -n Dry run" \ |
2742 | /* "\n -N num Number of inodes to create" */ \ | 2743 | /* "\n -N num Number of inodes to create" */ \ |
2743 | /* "\n -o os Set the 'creator os' field" */ \ | 2744 | /* "\n -o os Set the 'creator os' field" */ \ |
2744 | /* "\n -O features Dir_index/filetype/has_journal/journal_dev/sparse_super" */ \ | 2745 | /* "\n -O features Dir_index/filetype/has_journal/journal_dev/sparse_super" */ \ |