diff options
Diffstat (limited to 'miscutils/devfsd.c')
| -rw-r--r-- | miscutils/devfsd.c | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index 6217918da..99bdc72b8 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
| @@ -53,6 +53,66 @@ | |||
| 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. | ||
| 112 | |||
| 113 | //applet:IF_DEVFSD(APPLET(devfsd, BB_DIR_SBIN, BB_SUID_DROP)) | ||
| 114 | |||
| 115 | //kbuild:lib-$(CONFIG_DEVFSD) += devfsd.o | ||
| 56 | 116 | ||
| 57 | //usage:#define devfsd_trivial_usage | 117 | //usage:#define devfsd_trivial_usage |
| 58 | //usage: "mntpnt [-v]" IF_DEVFSD_FG_NP("[-fg][-np]") | 118 | //usage: "mntpnt [-v]" IF_DEVFSD_FG_NP("[-fg][-np]") |
