aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-11-01 09:03:00 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:44:31 -0500
commitfce3e804cfad49208fd2ff9db4bcb57481409e1d (patch)
treec578c1c3748d5f48f9c85b53e3e221a8fb86e887 /init/Kconfig
parent1e0b2cf933ebf32494eba3f668859ba57f06a951 (diff)
sysfs: clarify SYSFS_DEPRECATED help text
This should make the help text of SYSFS_DEPRECATED more clear, that this is _not_ about (what some people think it is) suppressing a few symlinks and variables, but a different sysfs _layout_ with new features. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig44
1 files changed, 27 insertions, 17 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 52847eec7398..d9d3dbabdb18 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -423,27 +423,37 @@ config SYSFS_DEPRECATED
423 bool 423 bool
424 424
425config SYSFS_DEPRECATED_V2 425config SYSFS_DEPRECATED_V2
426 bool "Create deprecated sysfs files" 426 bool "Create deprecated sysfs layout for older userspace tools"
427 depends on SYSFS 427 depends on SYSFS
428 default y 428 default y
429 select SYSFS_DEPRECATED 429 select SYSFS_DEPRECATED
430 help 430 help
431 This option creates deprecated symlinks such as the 431 This option switches the layout of sysfs to the deprecated
432 "device"-link, the <subsystem>:<name>-link, and the 432 version.
433 "bus"-link. It may also add deprecated key in the 433
434 uevent environment. 434 The current sysfs layout features a unified device tree at
435 None of these features or values should be used today, as 435 /sys/devices/, which is able to express a hierarchy between
436 they export driver core implementation details to userspace 436 class devices. If the deprecated option is set to Y, the
437 or export properties which can't be kept stable across kernel 437 unified device tree is split into a bus device tree at
438 releases. 438 /sys/devices/ and several individual class device trees at
439 439 /sys/class/. The class and bus devices will be connected by
440 If enabled, this option will also move any device structures 440 "<subsystem>:<name>" and the "device" links. The "block"
441 that belong to a class, back into the /sys/class hierarchy, in 441 class devices, will not show up in /sys/class/block/. Some
442 order to support older versions of udev and some userspace 442 subsystems will suppress the creation of some devices which
443 programs. 443 depend on the unified device tree.
444 444
445 If you are using a distro with the most recent userspace 445 This option is not a pure compatibility option that can
446 packages, it should be safe to say N here. 446 be safely enabled on newer distributions. It will change the
447 layout of sysfs to the non-extensible deprecated version,
448 and disable some features, which can not be exported without
449 confusing older userspace tools. Since 2007/2008 all major
450 distributions do not enable this option, and ship no tools which
451 depend on the deprecated layout or this option.
452
453 If you are using a new kernel on an older distribution, or use
454 older userspace tools, you might need to say Y here. Do not say Y,
455 if the original kernel, that came with your distribution, has
456 this option set to N.
447 457
448config PROC_PID_CPUSET 458config PROC_PID_CPUSET
449 bool "Include legacy /proc/<pid>/cpuset file" 459 bool "Include legacy /proc/<pid>/cpuset file"