mkfs_ext2: new applet by Vladimir
function old new delta mkfs_ext2_main - 2011 +2011 static.supers - 184 +184 allocate - 118 +118 packed_usage 26692 26791 +99 PUT - 52 +52 has_super - 28 +28 applet_names 2143 2160 +17 applet_main 1264 1272 +8 applet_nameofs 632 636 +4 applet_install_loc 158 159 +1 ------------------------------------------------------------------------------ (add/remove: 5/0 grow/shrink: 5/0 up/down: 2522/0) Total: 2522 bytes Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
8dbe9bba8e
commit
823b4e6f26
@ -2702,37 +2702,6 @@
|
||||
"/tmp/foo/bar/baz: No such file or directory\n" \
|
||||
"$ mkdir -p /tmp/foo/bar/baz\n"
|
||||
|
||||
#define mke2fs_trivial_usage \
|
||||
"[-c|-l filename] [-b block-size] [-f fragment-size] [-g blocks-per-group] " \
|
||||
"[-i bytes-per-inode] [-j] [-J journal-options] [-N number-of-inodes] [-n] " \
|
||||
"[-m reserved-blocks-percentage] [-o creator-os] [-O feature[,...]] [-q] " \
|
||||
"[r fs-revision-level] [-E extended-options] [-v] [-F] [-L volume-label] " \
|
||||
"[-M last-mounted-directory] [-S] [-T filesystem-type] " \
|
||||
"device [blocks-count]"
|
||||
#define mke2fs_full_usage "\n\n" \
|
||||
" -b size Block size in bytes" \
|
||||
"\n -c Check for bad blocks before creating" \
|
||||
"\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 ratio The bytes/inode ratio" \
|
||||
"\n -j Create a journal (ext3)" \
|
||||
"\n -J opts Set journal options (size/device)" \
|
||||
"\n -l file Read bad blocks list from file" \
|
||||
"\n -L lbl Set the volume label" \
|
||||
"\n -m percent Percent of fs blocks to reserve for admin" \
|
||||
"\n -M dir Set last mounted directory" \
|
||||
"\n -n Don't actually create anything" \
|
||||
"\n -N num Number of inodes to create" \
|
||||
"\n -o os Set the 'creator os' field" \
|
||||
"\n -O features Dir_index/filetype/has_journal/journal_dev/sparse_super" \
|
||||
"\n -q Quiet" \
|
||||
"\n -r rev Set filesystem revision" \
|
||||
"\n -S Write superblock and group descriptors only" \
|
||||
"\n -T fs-type Set usage type (news/largefile/largefile4)" \
|
||||
"\n -v Verbose" \
|
||||
|
||||
#define mkfifo_trivial_usage \
|
||||
"[OPTIONS] name"
|
||||
#define mkfifo_full_usage "\n\n" \
|
||||
@ -2743,6 +2712,42 @@
|
||||
"\n -Z Set security context" \
|
||||
)
|
||||
|
||||
#define mkfs_ext2_trivial_usage \
|
||||
/* "[-c|-l filename] " */ \
|
||||
"[-b BLK_SIZE] " \
|
||||
/* "[-f fragment-size] [-g blocks-per-group] " */ \
|
||||
"[-i BYTES_PER_INODE] " \
|
||||
/* "[-j] [-J journal-options] [-N number-of-inodes] [-n] " */ \
|
||||
"[-m RESERVED_PERCENT] " \
|
||||
/* "[-o creator-os] [-O feature[,...]] [-q] " */ \
|
||||
/* "[r fs-revision-level] [-E extended-options] [-v] [-F] " */ \
|
||||
"[-L LABEL] " \
|
||||
/* "[-M last-mounted-directory] [-S] [-T filesystem-type] " */ \
|
||||
"DEVICE [BLK_COUNT]"
|
||||
#define mkfs_ext2_full_usage "\n" \
|
||||
"\n -b BLK_SIZE Block size in bytes" \
|
||||
/* "\n -c Check for bad blocks before creating" */ \
|
||||
/* "\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 -j Create a journal (ext3)" */ \
|
||||
/* "\n -J opts Set journal options (size/device)" */ \
|
||||
/* "\n -l file Read bad blocks list from file" */ \
|
||||
"\n -L LABEL Set the volume label" \
|
||||
"\n -m PERCENT Percent of blocks to reserve for admin" \
|
||||
/* "\n -M dir Set last mounted directory" */ \
|
||||
/* "\n -n Don't actually create anything" */ \
|
||||
/* "\n -N num Number of inodes to create" */ \
|
||||
/* "\n -o os Set the 'creator os' field" */ \
|
||||
/* "\n -O features Dir_index/filetype/has_journal/journal_dev/sparse_super" */ \
|
||||
/* "\n -q Quiet" */ \
|
||||
/* "\n -r rev Set filesystem revision" */ \
|
||||
/* "\n -S Write superblock and group descriptors only" */ \
|
||||
/* "\n -T fs-type Set usage type (news/largefile/largefile4)" */ \
|
||||
/* "\n -v Verbose" */ \
|
||||
|
||||
#define mkfs_minix_trivial_usage \
|
||||
"[-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]"
|
||||
#define mkfs_minix_full_usage "\n\n" \
|
||||
|
Reference in New Issue
Block a user