aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2006-09-14 05:23:28 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-01 17:51:58 -0500
commit88a22c985e3545c55c9779971007f0f29f912519 (patch)
treeb6798bc78f87531b6c3c8e0bdd9230af9a3a0887 /init
parentf0ee61a6cecd100301a60d99feb187776533b2a2 (diff)
CONFIG_SYSFS_DEPRECATED
Provide a way to support older versions of udev that are shipped in older distros. If this option is disabled, it will also turn off the compatible symlinks in sysfs that older programs might rely on. When in doubt, or if running a distro older than 2006, say Yes here. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 176f7e5136c7..14d484606fab 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -249,6 +249,26 @@ config CPUSETS
249 249
250 Say N if unsure. 250 Say N if unsure.
251 251
252config SYSFS_DEPRECATED
253 bool "Create deprecated sysfs files"
254 default y
255 help
256 This option creates deprecated symlinks such as the
257 "device"-link, the <subsystem>:<name>-link, and the
258 "bus"-link. It may also add deprecated key in the
259 uevent environment.
260 None of these features or values should be used today, as
261 they export driver core implementation details to userspace
262 or export properties which can't be kept stable across kernel
263 releases.
264
265 If enabled, this option will also move any device structures
266 that belong to a class, back into the /sys/class heirachy, in
267 order to support older versions of udev.
268
269 If you are using a distro that was released in 2006 or later,
270 it should be safe to say N here.
271
252config RELAY 272config RELAY
253 bool "Kernel->user space relay support (formerly relayfs)" 273 bool "Kernel->user space relay support (formerly relayfs)"
254 help 274 help