From 01c3d40f3c022abc08c14b96fe586a33fce081e8 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 5 Jul 2003 07:51:31 +0000 Subject: 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. --- include/applets.h | 3 +++ include/usage.h | 7 +++++++ 2 files changed, 10 insertions(+) (limited to 'include') diff --git a/include/applets.h b/include/applets.h index cfb278123..5fe01de5f 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 a570d3519..14f2e2859 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 \ -- cgit v1.2.3