summaryrefslogtreecommitdiff
path: root/util-linux/mkfs_minix.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-11-10 23:13:02 +0000
committerEric Andersen <andersen@codepoet.org>1999-11-10 23:13:02 +0000
commitd73dc5b07390fb90e7f605871c993a28eedf1d46 (patch)
tree3e448e6550da52d2709e5f52fbae56e9df9462cc /util-linux/mkfs_minix.c
parent84d85680712573c7a8bd7d0491c3f944dc08ad10 (diff)
downloadbusybox-w32-d73dc5b07390fb90e7f605871c993a28eedf1d46.tar.gz
busybox-w32-d73dc5b07390fb90e7f605871c993a28eedf1d46.tar.bz2
busybox-w32-d73dc5b07390fb90e7f605871c993a28eedf1d46.zip
Updates to usage, and made tar work.
-Erik
Diffstat (limited to 'util-linux/mkfs_minix.c')
-rw-r--r--util-linux/mkfs_minix.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c
index 926a023b4..b90d3a700 100644
--- a/util-linux/mkfs_minix.c
+++ b/util-linux/mkfs_minix.c
@@ -171,10 +171,15 @@ static volatile void die(char *str) {
171 171
172static volatile void show_usage() 172static volatile void show_usage()
173{ 173{
174 fprintf(stderr, "%s\n", program_name); 174 fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n", BB_VER, BB_BT);
175 fprintf(stderr, 175 fprintf(stderr, "Usage: %s [-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]\n\n", program_name);
176 "Usage: %s [-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]\n", 176 fprintf(stderr, "Make a MINIX filesystem.\n\n");
177 program_name); 177 fprintf(stderr, "OPTIONS:\n");
178 fprintf(stderr, "\t-c\t\tCheck the device for bad blocks\n");
179 fprintf(stderr, "\t-n [14|30]\tSpecify the maximum length of filenames\n");
180 fprintf(stderr, "\t-i\t\tSpecify the number of inodes for the filesystem\n");
181 fprintf(stderr, "\t-l FILENAME\tRead the bad blocks list from FILENAME\n");
182 fprintf(stderr, "\t-v\t\tMake a Minix version 2 filesystem\n\n");
178 exit(16); 183 exit(16);
179} 184}
180 185