diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-07-05 07:51:31 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-07-05 07:51:31 +0000 |
| commit | 8b3e5450cbe01cc720c446faab2e5da36a4148df (patch) | |
| tree | 44343baf5a55f3f623770a1097a54eaad112c7f4 /include | |
| parent | f46a1fafbbb11affe9335afa036b72e496a818d0 (diff) | |
| download | busybox-w32-8b3e5450cbe01cc720c446faab2e5da36a4148df.tar.gz busybox-w32-8b3e5450cbe01cc720c446faab2e5da36a4148df.tar.bz2 busybox-w32-8b3e5450cbe01cc720c446faab2e5da36a4148df.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.
git-svn-id: svn://busybox.net/trunk/busybox@7037 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 \ |
