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 /miscutils/Config.in | |
parent | 58b118ae33e70bdd37872a2e68f09234c890eeac (diff) | |
download | busybox-w32-84b6264670619c8051f0c81a1ed7bb58e161df21.tar.gz busybox-w32-84b6264670619c8051f0c81a1ed7bb58e161df21.tar.bz2 busybox-w32-84b6264670619c8051f0c81a1ed7bb58e161df21.zip |
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.in | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/miscutils/Config.in b/miscutils/Config.in index 7e18c16a0..320f4c2b4 100644 --- a/miscutils/Config.in +++ b/miscutils/Config.in | |||
@@ -143,10 +143,32 @@ config CONFIG_MAKEDEVS | |||
143 | bool "makedevs" | 143 | bool "makedevs" |
144 | default n | 144 | default n |
145 | help | 145 | help |
146 | 'makedevs' is a utility used and created by the Linux Router Project. | 146 | 'makedevs' is a utility used to create a batch of devices with |
147 | It creates a large number of device special files (/dev devices) | 147 | one command. |
148 | rather quickly, and can be considerably faster then running mknod a | 148 | . |
149 | zillion times. | 149 | There are two choices for command line behaviour, the interface |
150 | as used by LEAF/Linux Router Project, or a device table file. | ||
151 | . | ||
152 | 'leaf' is traditionally what busybox follows, it allows multiple | ||
153 | devices of a particluar type to be created per command. | ||
154 | e.g. /dev/hda[0-9] | ||
155 | Device properties are passed as command line arguments. | ||
156 | . | ||
157 | 'table' reads device properties from a file or stdin, allowing | ||
158 | a batch of unrelated devices to be makde with one command. | ||
159 | User/group names are allowed as an alternative to uid/gid. | ||
160 | |||
161 | choice | ||
162 | prompt "Choose makedevs behaviour" | ||
163 | default CONFIG_FEATURE_MAKDEVS_TABLE | ||
164 | |||
165 | config CONFIG_FEATURE_MAKEDEVS_LEAF | ||
166 | bool "leaf" | ||
167 | |||
168 | config CONFIG_FEATURE_MAKEDEVS_TABLE | ||
169 | bool "table" | ||
170 | |||
171 | endchoice | ||
150 | 172 | ||
151 | config CONFIG_MT | 173 | config CONFIG_MT |
152 | bool "mt" | 174 | bool "mt" |