summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h11
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