diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2004-06-05 07:54:52 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2004-06-05 07:54:52 +0000 |
commit | 84b6264670619c8051f0c81a1ed7bb58e161df21 (patch) | |
tree | 80a5447e076ed386b5d7ae7c92540ee87b39f008 /include | |
parent | 58b118ae33e70bdd37872a2e68f09234c890eeac (diff) | |
download | busybox-84b6264670619c8051f0c81a1ed7bb58e161df21.tar.gz |
Device table support for makedevs, the previous behaviour can been
selected at configure time.
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index ce5624752..d41780d27 100644 --- a/include/usage.h +++ b/include/usage.h @@ -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 |