diff options
author | Glenn L McGrath | 2002-11-26 22:00:21 +0000 |
---|---|---|
committer | Glenn L McGrath | 2002-11-26 22:00:21 +0000 |
commit | 441e7efc72cdaf628d85b3c77d27df1008c43142 (patch) | |
tree | bad3eba18ca05aa67fd18ddea046f397ac9fc689 /include | |
parent | 0ff941e1c32247582f89e4e6f0696ae6c02ed584 (diff) | |
download | busybox-441e7efc72cdaf628d85b3c77d27df1008c43142.zip busybox-441e7efc72cdaf628d85b3c77d27df1008c43142.tar.gz |
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 e8bcb0e..a85a8bf 100644 --- a/include/applets.h +++ b/include/applets.h @@ -185,6 +185,9 @@ #ifdef CONFIG_FDFLUSH APPLET(fdflush, fdflush_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_FDISK + APPLET(fdisk, fdisk_main, _BB_DIR_SBIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_FIND APPLET(find, find_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif diff --git a/include/usage.h b/include/usage.h index 3677dff..568899b 100644 --- a/include/usage.h +++ b/include/usage.h @@ -521,6 +521,17 @@ #define fdflush_full_usage \ "Forces floppy disk drive to detect disk change" +#define fdisk_trivial_usage \ + "[-l] [-v] [-b SSZ] [-u] DISK" +#define fdisk_full_usage \ + "Change partition table\n" \ + "Options:\n" \ + "-l List partition table(s)\n" \ + "-u Give Start and End in sector (instead of cylinder) units\n" \ + "-s PARTITION Give partition size(s) in blocks\n" \ + "-b 2048: (for certain MO disks) use 2048-byte sectors\n" \ + "-v Give fdisk version\n" + #ifdef CONFIG_FEATURE_FIND_TYPE #define USAGE_FIND_TYPE(a) a #else |