diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-22 23:14:24 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-22 23:14:24 +0100 |
commit | fb4da167114e96d7f20ef97474f976f8ffa604e7 (patch) | |
tree | 6f688202bc89ffa68b6679d1b252fd69b7471c94 /miscutils/makedevs.c | |
parent | 9f8eb1ee7620020e01b3596ac7259d51ebca7a7b (diff) | |
download | busybox-w32-fb4da167114e96d7f20ef97474f976f8ffa604e7.tar.gz busybox-w32-fb4da167114e96d7f20ef97474f976f8ffa604e7.tar.bz2 busybox-w32-fb4da167114e96d7f20ef97474f976f8ffa604e7.zip |
Split miscutils/Config.src items into miscutils/*.c files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 |