diff options
Diffstat (limited to 'miscutils/makedevs.c')
-rw-r--r-- | miscutils/makedevs.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index c945a1352..cbdb0e3a1 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c | |||
@@ -6,6 +6,37 @@ | |||
6 | * Make ranges of device files quickly. | 6 | * Make ranges of device files quickly. |
7 | * known bugs: can't deal with alpha ranges | 7 | * known bugs: can't deal with alpha ranges |
8 | */ | 8 | */ |
9 | //config:config MAKEDEVS | ||
10 | //config: bool "makedevs" | ||
11 | //config: default y | ||
12 | //config: help | ||
13 | //config: 'makedevs' is a utility used to create a batch of devices with | ||
14 | //config: one command. | ||
15 | //config: | ||
16 | //config: There are two choices for command line behaviour, the interface | ||
17 | //config: as used by LEAF/Linux Router Project, or a device table file. | ||
18 | //config: | ||
19 | //config: 'leaf' is traditionally what busybox follows, it allows multiple | ||
20 | //config: devices of a particluar type to be created per command. | ||
21 | //config: e.g. /dev/hda[0-9] | ||
22 | //config: Device properties are passed as command line arguments. | ||
23 | //config: | ||
24 | //config: 'table' reads device properties from a file or stdin, allowing | ||
25 | //config: a batch of unrelated devices to be made with one command. | ||
26 | //config: User/group names are allowed as an alternative to uid/gid. | ||
27 | //config: | ||
28 | //config:choice | ||
29 | //config: prompt "Choose makedevs behaviour" | ||
30 | //config: depends on MAKEDEVS | ||
31 | //config: default FEATURE_MAKEDEVS_TABLE | ||
32 | //config: | ||
33 | //config:config FEATURE_MAKEDEVS_LEAF | ||
34 | //config: bool "leaf" | ||
35 | //config: | ||
36 | //config:config FEATURE_MAKEDEVS_TABLE | ||
37 | //config: bool "table" | ||
38 | //config: | ||
39 | //config:endchoice | ||
9 | 40 | ||
10 | //usage:#if ENABLE_FEATURE_MAKEDEVS_LEAF | 41 | //usage:#if ENABLE_FEATURE_MAKEDEVS_LEAF |
11 | //usage:#define makedevs_trivial_usage | 42 | //usage:#define makedevs_trivial_usage |