path: root/miscutils/makedevs.c
diff options
authorGravatar Denys Vlasenko <vda.linux@googlemail.com>2016-11-22 23:14:24 +0100
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2016-11-22 23:14:24 +0100
commitfb4da167114e96d7f20ef97474f976f8ffa604e7 (patch)
tree6f688202bc89ffa68b6679d1b252fd69b7471c94 /miscutils/makedevs.c
parent9f8eb1ee7620020e01b3596ac7259d51ebca7a7b (diff)
Split miscutils/Config.src items into miscutils/*.c files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/makedevs.c')
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 @@
* Make ranges of device files quickly.
* known bugs: can't deal with alpha ranges
+//config:config MAKEDEVS
+//config: bool "makedevs"
+//config: default y
+//config: help
+//config: 'makedevs' is a utility used to create a batch of devices with
+//config: one command.
+//config: There are two choices for command line behaviour, the interface
+//config: as used by LEAF/Linux Router Project, or a device table file.
+//config: 'leaf' is traditionally what busybox follows, it allows multiple
+//config: devices of a particluar type to be created per command.
+//config: e.g. /dev/hda[0-9]
+//config: Device properties are passed as command line arguments.
+//config: 'table' reads device properties from a file or stdin, allowing
+//config: a batch of unrelated devices to be made with one command.
+//config: User/group names are allowed as an alternative to uid/gid.
+//config: prompt "Choose makedevs behaviour"
+//config: depends on MAKEDEVS
+//config: default FEATURE_MAKEDEVS_TABLE
+//config:config FEATURE_MAKEDEVS_LEAF
+//config: bool "leaf"
+//config: bool "table"
//usage:#define makedevs_trivial_usage