Split miscutils/Config.src items into miscutils/*.c files

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2016-11-22 23:14:24 +01:00
parent 9f8eb1ee76
commit fb4da16711
36 changed files with 498 additions and 533 deletions

View File

@@ -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:
//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:
//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:
//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:
//config:choice
//config: prompt "Choose makedevs behaviour"
//config: depends on MAKEDEVS
//config: default FEATURE_MAKEDEVS_TABLE
//config:
//config:config FEATURE_MAKEDEVS_LEAF
//config: bool "leaf"
//config:
//config:config FEATURE_MAKEDEVS_TABLE
//config: bool "table"
//config:
//config:endchoice
//usage:#if ENABLE_FEATURE_MAKEDEVS_LEAF
//usage:#define makedevs_trivial_usage