summaryrefslogtreecommitdiff
path: root/miscutils/Config.in
diff options
context:
space:
mode:
authorGlenn L McGrath2004-06-05 07:54:52 +0000
committerGlenn L McGrath2004-06-05 07:54:52 +0000
commit84b6264670619c8051f0c81a1ed7bb58e161df21 (patch)
tree80a5447e076ed386b5d7ae7c92540ee87b39f008 /miscutils/Config.in
parent58b118ae33e70bdd37872a2e68f09234c890eeac (diff)
downloadbusybox-84b6264670619c8051f0c81a1ed7bb58e161df21.zip
busybox-84b6264670619c8051f0c81a1ed7bb58e161df21.tar.gz
Device table support for makedevs, the previous behaviour can been
selected at configure time.
Diffstat (limited to 'miscutils/Config.in')
-rw-r--r--miscutils/Config.in30
1 files changed, 26 insertions, 4 deletions
diff --git a/miscutils/Config.in b/miscutils/Config.in
index 7e18c16..320f4c2 100644
--- a/miscutils/Config.in
+++ b/miscutils/Config.in
@@ -143,10 +143,32 @@ config CONFIG_MAKEDEVS
bool "makedevs"
default n
help
- 'makedevs' is a utility used and created by the Linux Router Project.
- It creates a large number of device special files (/dev devices)
- rather quickly, and can be considerably faster then running mknod a
- zillion times.
+ 'makedevs' is a utility used to create a batch of devices with
+ one command.
+ .
+ There are two choices for command line behaviour, the interface
+ as used by LEAF/Linux Router Project, or a device table file.
+ .
+ 'leaf' is traditionally what busybox follows, it allows multiple
+ devices of a particluar type to be created per command.
+ e.g. /dev/hda[0-9]
+ Device properties are passed as command line arguments.
+ .
+ 'table' reads device properties from a file or stdin, allowing
+ a batch of unrelated devices to be makde with one command.
+ User/group names are allowed as an alternative to uid/gid.
+
+choice
+ prompt "Choose makedevs behaviour"
+ default CONFIG_FEATURE_MAKDEVS_TABLE
+
+config CONFIG_FEATURE_MAKEDEVS_LEAF
+ bool "leaf"
+
+config CONFIG_FEATURE_MAKEDEVS_TABLE
+ bool "table"
+
+endchoice
config CONFIG_MT
bool "mt"