aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mkfs_ext2.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-04-11 03:29:49 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-11 03:29:49 +0200
commit5bc8c005a8e15c43285bc595a8d404de67a482ac (patch)
tree98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /util-linux/mkfs_ext2.c
parent73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff)
downloadbusybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz
busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2
busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkfs_ext2.c')
-rw-r--r--util-linux/mkfs_ext2.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c
index 871ec835e..f6ccc9c9e 100644
--- a/util-linux/mkfs_ext2.c
+++ b/util-linux/mkfs_ext2.c
@@ -7,6 +7,45 @@
7 * 7 *
8 * Licensed under GPLv2, see file LICENSE in this source tree. 8 * Licensed under GPLv2, see file LICENSE in this source tree.
9 */ 9 */
10
11//usage:#define mkfs_ext2_trivial_usage
12//usage: "[-Fn] "
13/* //usage: "[-c|-l filename] " */
14//usage: "[-b BLK_SIZE] "
15/* //usage: "[-f fragment-size] [-g blocks-per-group] " */
16//usage: "[-i INODE_RATIO] [-I INODE_SIZE] "
17/* //usage: "[-j] [-J journal-options] [-N number-of-inodes] " */
18//usage: "[-m RESERVED_PERCENT] "
19/* //usage: "[-o creator-os] [-O feature[,...]] [-q] " */
20/* //usage: "[r fs-revision-level] [-E extended-options] [-v] [-F] " */
21//usage: "[-L LABEL] "
22/* //usage: "[-M last-mounted-directory] [-S] [-T filesystem-type] " */
23//usage: "BLOCKDEV [KBYTES]"
24//usage:#define mkfs_ext2_full_usage "\n\n"
25//usage: " -b BLK_SIZE Block size, bytes"
26/* //usage: "\n -c Check device for bad blocks" */
27/* //usage: "\n -E opts Set extended options" */
28/* //usage: "\n -f size Fragment size in bytes" */
29//usage: "\n -F Force"
30/* //usage: "\n -g N Number of blocks in a block group" */
31//usage: "\n -i RATIO Max number of files is filesystem_size / RATIO"
32//usage: "\n -I BYTES Inode size (min 128)"
33/* //usage: "\n -j Create a journal (ext3)" */
34/* //usage: "\n -J opts Set journal options (size/device)" */
35/* //usage: "\n -l file Read bad blocks list from file" */
36//usage: "\n -L LBL Volume label"
37//usage: "\n -m PERCENT Percent of blocks to reserve for admin"
38/* //usage: "\n -M dir Set last mounted directory" */
39//usage: "\n -n Dry run"
40/* //usage: "\n -N N Number of inodes to create" */
41/* //usage: "\n -o os Set the 'creator os' field" */
42/* //usage: "\n -O features Dir_index/filetype/has_journal/journal_dev/sparse_super" */
43/* //usage: "\n -q Quiet" */
44/* //usage: "\n -r rev Set filesystem revision" */
45/* //usage: "\n -S Write superblock and group descriptors only" */
46/* //usage: "\n -T fs-type Set usage type (news/largefile/largefile4)" */
47/* //usage: "\n -v Verbose" */
48
10#include "libbb.h" 49#include "libbb.h"
11#include <linux/fs.h> 50#include <linux/fs.h>
12#include <linux/ext2_fs.h> 51#include <linux/ext2_fs.h>