diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-18 12:40:57 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-18 12:40:57 +0200 |
commit | 8f599f9a310b07b482eac1fd67e8c8a1c7a53124 (patch) | |
tree | 9f9214d57c12d2eb00fe2e410707f245113de784 /util-linux | |
parent | 0f022c05658a4c014ebdebdc55461afa890c98a0 (diff) | |
download | busybox-w32-8f599f9a310b07b482eac1fd67e8c8a1c7a53124.tar.gz busybox-w32-8f599f9a310b07b482eac1fd67e8c8a1c7a53124.tar.bz2 busybox-w32-8f599f9a310b07b482eac1fd67e8c8a1c7a53124.zip |
mkfs_ext2: improve comments a bit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/mkfs_ext2.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/util-linux/mkfs_ext2.c b/util-linux/mkfs_ext2.c index 1748a475c..14feb9288 100644 --- a/util-linux/mkfs_ext2.c +++ b/util-linux/mkfs_ext2.c | |||
@@ -140,7 +140,7 @@ static void PUT(uint64_t off, void *buf, uint32_t size) | |||
140 | // only for directories, which never need i_size_high). | 140 | // only for directories, which never need i_size_high). |
141 | // | 141 | // |
142 | // Standard mke2fs creates a filesystem with 256-byte inodes if it is | 142 | // Standard mke2fs creates a filesystem with 256-byte inodes if it is |
143 | // bigger than 0.5GB. So far, we do not do this. | 143 | // bigger than 0.5GB. |
144 | 144 | ||
145 | // Standard mke2fs 1.41.9: | 145 | // Standard mke2fs 1.41.9: |
146 | // Usage: mke2fs [-c|-l filename] [-b block-size] [-f fragment-size] | 146 | // Usage: mke2fs [-c|-l filename] [-b block-size] [-f fragment-size] |
@@ -212,8 +212,11 @@ int mkfs_ext2_main(int argc UNUSED_PARAM, char **argv) | |||
212 | // we are register starved here | 212 | // we are register starved here |
213 | opt_complementary = "-1:b+:i+:I+:m+"; | 213 | opt_complementary = "-1:b+:i+:I+:m+"; |
214 | /*opts =*/ getopt32(argv, "cl:b:f:i:I:J:G:N:m:o:g:L:M:O:r:E:T:U:jnqvFS", | 214 | /*opts =*/ getopt32(argv, "cl:b:f:i:I:J:G:N:m:o:g:L:M:O:r:E:T:U:jnqvFS", |
215 | NULL, &bs, NULL, &bpi, &user_inodesize, NULL, NULL, NULL, | 215 | /*lbfi:*/ NULL, &bs, NULL, &bpi, |
216 | &reserved_percent, NULL, NULL, &label, NULL, NULL, NULL, NULL, NULL, NULL); | 216 | /*IJGN:*/ &user_inodesize, NULL, NULL, NULL, |
217 | /*mogL:*/ &reserved_percent, NULL, NULL, &label, | ||
218 | /*MOrE:*/ NULL, NULL, NULL, NULL, | ||
219 | /*TU:*/ NULL, NULL); | ||
217 | argv += optind; // argv[0] -- device | 220 | argv += optind; // argv[0] -- device |
218 | 221 | ||
219 | // open the device, check the device is a block device | 222 | // open the device, check the device is a block device |