summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen2003-07-05 07:51:31 +0000
committerEric Andersen2003-07-05 07:51:31 +0000
commit01c3d40f3c022abc08c14b96fe586a33fce081e8 (patch)
tree44343baf5a55f3f623770a1097a54eaad112c7f4 /include
parenta21f4e018a39c08e09d69fae63383000a327716a (diff)
downloadbusybox-01c3d40f3c022abc08c14b96fe586a33fce081e8.zip
busybox-01c3d40f3c022abc08c14b96fe586a33fce081e8.tar.gz
Add the fdformat utility, based on a patch from Kent Robotti,
but I then completely reworked the fdformat utility to comply with the current busybox way of doing things.
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h7
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index cfb2781..5fe01de 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -193,6 +193,9 @@
#ifdef CONFIG_FDFLUSH
APPLET(fdflush, fdflush_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_FDFORMAT
+ APPLET(fdformat, fdformat_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_FDISK
APPLET(fdisk, fdisk_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
#endif
diff --git a/include/usage.h b/include/usage.h
index a570d35..14f2e28 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -571,6 +571,13 @@
#define fdflush_full_usage \
"Forces floppy disk drive to detect disk change"
+#define fdformat_trivial_usage \
+ "[-n] DEVICE"
+#define fdformat_full_usage \
+ "Low-level formats a floppy disk\n\n" \
+ "Options:\n" \
+ "\t-n\tDon't verify after format"
+
#define fdisk_trivial_usage \
"[-l] [-v] [-b SSZ] [-u] DISK"
#define fdisk_full_usage \