summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladimir Dronnikov2009-11-02 10:41:46 +0100
committerDenys Vlasenko2009-11-02 10:49:02 +0100
commit0d8ea64af618dc83c3291b3b598636ed3d0854e4 (patch)
tree88fdbe176de46abc7b0a4ea0c162f1b2185ebb3f /include
parentd784b65be71f8ddae433ab9bee4e2ad953097716 (diff)
downloadbusybox-0d8ea64af618dc83c3291b3b598636ed3d0854e4.zip
busybox-0d8ea64af618dc83c3291b3b598636ed3d0854e4.tar.gz
mkfs.reiser: new applet. needs much polishing
Signed-off-by: Vladimir Dronnikov <dronnikov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 9683f1e..7d25f1b 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -263,6 +263,7 @@ IF_MKFIFO(APPLET(mkfifo, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_MKFS_EXT2(APPLET_ODDNAME(mkfs.ext2, mkfs_ext2, _BB_DIR_SBIN, _BB_SUID_DROP, mkfs_ext2))
//IF_MKE2FS(APPLET_ODDNAME(mkfs.ext3, mke2fs, _BB_DIR_SBIN, _BB_SUID_DROP, mkfs_ext3))
IF_MKFS_MINIX(APPLET_ODDNAME(mkfs.minix, mkfs_minix, _BB_DIR_SBIN, _BB_SUID_DROP, mkfs_minix))
+IF_MKFS_REISER(APPLET_ODDNAME(mkfs.reiser, mkfs_reiser, _BB_DIR_SBIN, _BB_SUID_DROP, mkfs_reiser))
IF_MKFS_VFAT(APPLET_ODDNAME(mkfs.vfat, mkfs_vfat, _BB_DIR_SBIN, _BB_SUID_DROP, mkfs_vfat))
IF_MKNOD(APPLET(mknod, _BB_DIR_BIN, _BB_SUID_DROP))
IF_CRYPTPW(APPLET_ODDNAME(mkpasswd, cryptpw, _BB_DIR_USR_BIN, _BB_SUID_DROP, mkpasswd))
diff --git a/include/usage.h b/include/usage.h
index 72b6acc..f703e32 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2771,6 +2771,15 @@
"\n -l FILENAME Read bad blocks list from FILENAME" \
"\n -v Make version 2 filesystem" \
+#define mkfs_reiser_trivial_usage \
+ "[-f] [-l LABEL] BLOCKDEV [4K-BLOCKS]"
+
+#define mkfs_reiser_full_usage "\n\n" \
+ "Make a ReiserFS V3 filesystem\n" \
+ "\nOptions:" \
+ "\n -f Force" \
+ "\n -l LBL Volume label" \
+
#define mkfs_vfat_trivial_usage \
"[-v] [-n LABEL] BLOCKDEV [KBYTES]"
/* Accepted but ignored: