[BusyBox-cvs] busybox/include usage.h,1.211,1.212
Glenn McGrath,,,
bug1 at busybox.net
Sat Jun 5 07:55:12 UTC 2004
Update of /var/cvs/busybox/include
In directory nail:/tmp/cvs-serv2277/include
Modified Files:
usage.h
Log Message:
Device table support for makedevs, the previous behaviour can been
selected at configure time.
Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.211
retrieving revision 1.212
diff -u -d -r1.211 -r1.212
--- a/usage.h 26 May 2004 22:09:37 -0000 1.211
+++ b/usage.h 5 Jun 2004 07:54:50 -0000 1.212
@@ -1536,6 +1536,7 @@
#define lsmod_full_usage \
"List the currently loaded kernel modules."
+#ifdef CONFIG_FEATURE_MAKEDEVS_LEAF
#define makedevs_trivial_usage \
"NAME TYPE MAJOR MINOR FIRST LAST [s]"
#define makedevs_full_usage \
@@ -1555,6 +1556,18 @@
"[creates ttyS2-ttyS63]\n" \
"# makedevs /dev/hda b 3 0 0 8 s\n" \
"[creates hda,hda1-hda8]\n"
+#endif
+
+#ifdef CONFIG_FEATURE_MAKEDEVS_TABLE
+#define makedevs_trivial_usage \
+ "[-r rootdir] [device_table]"
+#define makedevs_full_usage \
+ "Creates a batch of special files as specified in a device table\n" \
+ "The device table has one line per device group, each group is of\n" \
+ "the format\n" \
+ "\ttype mode user group major minor start increment count\n" \
+ "a '-' may be used for blank entries\n"
+#endif
#ifdef CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
#define USAGE_MD5_SHA1_SUM_CHECK(a) a
More information about the busybox-cvs
mailing list