diff options
| author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-26 22:00:21 +0000 |
|---|---|---|
| committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-26 22:00:21 +0000 |
| commit | 441e7efc72cdaf628d85b3c77d27df1008c43142 (patch) | |
| tree | bad3eba18ca05aa67fd18ddea046f397ac9fc689 /include | |
| parent | 0ff941e1c32247582f89e4e6f0696ae6c02ed584 (diff) | |
| download | busybox-w32-441e7efc72cdaf628d85b3c77d27df1008c43142.tar.gz busybox-w32-441e7efc72cdaf628d85b3c77d27df1008c43142.tar.bz2 busybox-w32-441e7efc72cdaf628d85b3c77d27df1008c43142.zip | |
fdisk applet by Vladimir N. Oleynik
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 3 | ||||
| -rw-r--r-- | include/usage.h | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index e8bcb0e4b..a85a8bfcb 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -185,6 +185,9 @@ | |||
| 185 | #ifdef CONFIG_FDFLUSH | 185 | #ifdef CONFIG_FDFLUSH |
| 186 | APPLET(fdflush, fdflush_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 186 | APPLET(fdflush, fdflush_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
| 187 | #endif | 187 | #endif |
| 188 | #ifdef CONFIG_FDISK | ||
| 189 | APPLET(fdisk, fdisk_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | ||
| 190 | #endif | ||
| 188 | #ifdef CONFIG_FIND | 191 | #ifdef CONFIG_FIND |
| 189 | APPLET(find, find_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 192 | APPLET(find, find_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
| 190 | #endif | 193 | #endif |
diff --git a/include/usage.h b/include/usage.h index 3677dff7a..568899b6d 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -521,6 +521,17 @@ | |||
| 521 | #define fdflush_full_usage \ | 521 | #define fdflush_full_usage \ |
| 522 | "Forces floppy disk drive to detect disk change" | 522 | "Forces floppy disk drive to detect disk change" |
| 523 | 523 | ||
| 524 | #define fdisk_trivial_usage \ | ||
| 525 | "[-l] [-v] [-b SSZ] [-u] DISK" | ||
| 526 | #define fdisk_full_usage \ | ||
| 527 | "Change partition table\n" \ | ||
| 528 | "Options:\n" \ | ||
| 529 | "-l List partition table(s)\n" \ | ||
| 530 | "-u Give Start and End in sector (instead of cylinder) units\n" \ | ||
| 531 | "-s PARTITION Give partition size(s) in blocks\n" \ | ||
| 532 | "-b 2048: (for certain MO disks) use 2048-byte sectors\n" \ | ||
| 533 | "-v Give fdisk version\n" | ||
| 534 | |||
| 524 | #ifdef CONFIG_FEATURE_FIND_TYPE | 535 | #ifdef CONFIG_FEATURE_FIND_TYPE |
| 525 | #define USAGE_FIND_TYPE(a) a | 536 | #define USAGE_FIND_TYPE(a) a |
| 526 | #else | 537 | #else |
