diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-07-05 07:51:31 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-07-05 07:51:31 +0000 |
commit | 01c3d40f3c022abc08c14b96fe586a33fce081e8 (patch) | |
tree | 44343baf5a55f3f623770a1097a54eaad112c7f4 /include | |
parent | a21f4e018a39c08e09d69fae63383000a327716a (diff) | |
download | busybox-w32-01c3d40f3c022abc08c14b96fe586a33fce081e8.tar.gz busybox-w32-01c3d40f3c022abc08c14b96fe586a33fce081e8.tar.bz2 busybox-w32-01c3d40f3c022abc08c14b96fe586a33fce081e8.zip |
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.h | 3 | ||||
-rw-r--r-- | include/usage.h | 7 |
2 files changed, 10 insertions, 0 deletions
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 @@ | |||
193 | #ifdef CONFIG_FDFLUSH | 193 | #ifdef CONFIG_FDFLUSH |
194 | APPLET(fdflush, fdflush_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 194 | APPLET(fdflush, fdflush_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
195 | #endif | 195 | #endif |
196 | #ifdef CONFIG_FDFORMAT | ||
197 | APPLET(fdformat, fdformat_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
198 | #endif | ||
196 | #ifdef CONFIG_FDISK | 199 | #ifdef CONFIG_FDISK |
197 | APPLET(fdisk, fdisk_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | 200 | APPLET(fdisk, fdisk_main, _BB_DIR_SBIN, _BB_SUID_NEVER) |
198 | #endif | 201 | #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 @@ | |||
571 | #define fdflush_full_usage \ | 571 | #define fdflush_full_usage \ |
572 | "Forces floppy disk drive to detect disk change" | 572 | "Forces floppy disk drive to detect disk change" |
573 | 573 | ||
574 | #define fdformat_trivial_usage \ | ||
575 | "[-n] DEVICE" | ||
576 | #define fdformat_full_usage \ | ||
577 | "Low-level formats a floppy disk\n\n" \ | ||
578 | "Options:\n" \ | ||
579 | "\t-n\tDon't verify after format" | ||
580 | |||
574 | #define fdisk_trivial_usage \ | 581 | #define fdisk_trivial_usage \ |
575 | "[-l] [-v] [-b SSZ] [-u] DISK" | 582 | "[-l] [-v] [-b SSZ] [-u] DISK" |
576 | #define fdisk_full_usage \ | 583 | #define fdisk_full_usage \ |