aboutsummaryrefslogtreecommitdiff
path: root/util-linux/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/Config.in')
-rw-r--r--util-linux/Config.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/util-linux/Config.in b/util-linux/Config.in
index fe71dac2c..5ab54e038 100644
--- a/util-linux/Config.in
+++ b/util-linux/Config.in
@@ -245,6 +245,36 @@ config CONFIG_LOSETUP
245 file or block device, and to query the status of a loop device. This 245 file or block device, and to query the status of a loop device. This
246 version does not currently support enabling data encryption. 246 version does not currently support enabling data encryption.
247 247
248config CONFIG_MDEV
249 bool "mdev"
250 default n
251 help
252 mdev is a mini-udev implementation: call it with -s to populate
253 /dev from /sys, then "echo /sbin/mdev > /sys/kernel/hotplug" to
254 have it handle hotplug events afterwards. Device names are taken
255 from sysfs.
256
257config CONFIG_FEATURE_MDEV_CONFIG
258 bool " Support /etc/mdev.conf"
259 default n
260 depends on CONFIG_MDEV
261 help
262 The mdev config file contains lines that look like:
263
264 hd[a-z][0-9]* 0:3 660
265
266 That's device name (with regex match), uid:gid, and permissions.
267
268 Optionally, that can be followed (on the same line) by an asterisk
269 and a command line to run after creating the corresponding device(s),
270 ala:
271
272 hdc root:cdrom 660 *ln -s hdc cdrom
273
274 Config file parsing stops on the first matching line. If no config
275 entry is matched, devices are created with default 0:0 660. (Make
276 the last line match .* to override this.)
277
248config CONFIG_MKSWAP 278config CONFIG_MKSWAP
249 bool "mkswap" 279 bool "mkswap"
250 default n 280 default n