[BusyBox-cvs] busybox/include applets.h,1.79,1.80 usage.h,1.122,1.123
Glenn McGrath
bug1 at busybox.net
Tue Nov 26 22:00:24 UTC 2002
Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv10444/include
Modified Files:
applets.h usage.h
Log Message:
fdisk applet by Vladimir N. Oleynik
Index: applets.h
===================================================================
RCS file: /var/cvs/busybox/include/applets.h,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- applets.h 10 Nov 2002 23:42:26 -0000 1.79
+++ applets.h 26 Nov 2002 22:00:20 -0000 1.80
@@ -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
Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- usage.h 11 Nov 2002 03:00:07 -0000 1.122
+++ usage.h 26 Nov 2002 22:00:20 -0000 1.123
@@ -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
More information about the busybox-cvs
mailing list