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/devfsd.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/devfsd.c')
| -rw-r--r-- | miscutils/devfsd.c | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index 6217918da..361f3666f 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
| @@ -53,6 +53,62 @@ | |||
| 53 | The postal address is: | 53 | The postal address is: |
| 54 | Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia. | 54 | Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia. |
| 55 | */ | 55 | */ |
| 56 | //config:config DEVFSD | ||
| 57 | //config: bool "devfsd (obsolete)" | ||
| 58 | //config: default n | ||
| 59 | //config: select PLATFORM_LINUX | ||
| 60 | //config: select FEATURE_SYSLOG | ||
| 61 | //config: help | ||
| 62 | //config: This is deprecated and should NOT be used anymore. | ||
| 63 | //config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! | ||
| 64 | //config: See docs/mdev.txt for detailed instructions on how to use mdev | ||
| 65 | //config: instead. | ||
| 66 | //config: | ||
| 67 | //config: Provides compatibility with old device names on a devfs systems. | ||
| 68 | //config: You should set it to true if you have devfs enabled. | ||
| 69 | //config: The following keywords in devsfd.conf are supported: | ||
| 70 | //config: "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", | ||
| 71 | //config: "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", | ||
| 72 | //config: "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". | ||
| 73 | //config: | ||
| 74 | //config: But only if they are written UPPERCASE!!!!!!!! | ||
| 75 | //config: | ||
| 76 | //config:config DEVFSD_MODLOAD | ||
| 77 | //config: bool "Adds support for MODLOAD keyword in devsfd.conf" | ||
| 78 | //config: default y | ||
| 79 | //config: depends on DEVFSD | ||
| 80 | //config: help | ||
| 81 | //config: This actually doesn't work with busybox modutils but needs | ||
| 82 | //config: the external modutils. | ||
| 83 | //config: | ||
| 84 | //config:config DEVFSD_FG_NP | ||
| 85 | //config: bool "Enables the -fg and -np options" | ||
| 86 | //config: default y | ||
| 87 | //config: depends on DEVFSD | ||
| 88 | //config: help | ||
| 89 | //config: -fg Run the daemon in the foreground. | ||
| 90 | //config: -np Exit after parsing the configuration file. | ||
| 91 | //config: Do not poll for events. | ||
| 92 | //config: | ||
| 93 | //config:config DEVFSD_VERBOSE | ||
| 94 | //config: bool "Increases logging (and size)" | ||
| 95 | //config: default y | ||
| 96 | //config: depends on DEVFSD | ||
| 97 | //config: help | ||
| 98 | //config: Increases logging to stderr or syslog. | ||
| 99 | //config: | ||
| 100 | //config:config FEATURE_DEVFS | ||
| 101 | //config: bool "Use devfs names for all devices (obsolete)" | ||
| 102 | //config: default n | ||
| 103 | //config: select PLATFORM_LINUX | ||
| 104 | //config: help | ||
| 105 | //config: This is obsolete and should NOT be used anymore. | ||
| 106 | //config: Use linux >= 2.6 (optionally with hotplug) and mdev instead! | ||
| 107 | //config: | ||
| 108 | //config: For legacy systems -- if there is no way around devfsd -- this | ||
| 109 | //config: tells busybox to look for names like /dev/loop/0 instead of | ||
| 110 | //config: /dev/loop0. If your /dev directory has normal names instead of | ||
| 111 | //config: devfs names, you don't want this. | ||
| 56 | 112 | ||
| 57 | //usage:#define devfsd_trivial_usage | 113 | //usage:#define devfsd_trivial_usage |
| 58 | //usage: "mntpnt [-v]" IF_DEVFSD_FG_NP("[-fg][-np]") | 114 | //usage: "mntpnt [-v]" IF_DEVFSD_FG_NP("[-fg][-np]") |
