[PATCH 4/36] CONFIG_SYSFS_DEPRECATED



From: Kay Sievers <kay.sievers@xxxxxxxx>

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@xxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
init/Kconfig | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index 176f7e5..14d4846 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -249,6 +249,26 @@ config CPUSETS

Say N if unsure.

+config SYSFS_DEPRECATED
+ bool "Create deprecated sysfs files"
+ default y
+ help
+ This option creates deprecated symlinks such as the
+ "device"-link, the <subsystem>:<name>-link, and the
+ "bus"-link. It may also add deprecated key in the
+ uevent environment.
+ None of these features or values should be used today, as
+ they export driver core implementation details to userspace
+ or export properties which can't be kept stable across kernel
+ releases.
+
+ If enabled, this option will also move any device structures
+ that belong to a class, back into the /sys/class heirachy, in
+ order to support older versions of udev.
+
+ If you are using a distro that was released in 2006 or later,
+ it should be safe to say N here.
+
config RELAY
bool "Kernel->user space relay support (formerly relayfs)"
help
--
1.4.4.1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH 5/9] Make use of permissions, returned by kobj_lookup
    ... but people want to run old distros in containers ... that his udev refuses to work. ... my experience upgrading old kernels to new udev has not been a ...
    (Linux-Kernel)
  • Re: PATCH: Multiprobe sanitizer
    ... already probed asynchronously (like USB or firewire), ... maintaining probe ordering will work around problems today but we'll ... It can handle bus ordering issues already today just fine, and distros ... udev will not create stable names for a bunch of things... ...
    (Linux-Kernel)
  • Re: PATCH: Multiprobe sanitizer
    ... already probed asynchronously (like USB or firewire), ... maintaining probe ordering will work around problems today but we'll ... It can handle bus ordering issues already today just fine, and distros ... udev will not create stable names for a bunch of things... ...
    (Linux-Kernel)
  • Re: CD writing in future Linux (stirring up a hornets nest)
    ... people stopped using WORM for the most part. ... udev became standard on most distros, I don't know if it still works ...
    (Linux-Kernel)
  • Re: [PATCH 5/9] Make use of permissions, returned by kobj_lookup
    ... Greg: do it in udev ... but people want to run old distros in containers ... when is the mainline kernel likely to have sufficient ... container functionality which is sufficiently well-tested for people to ...
    (Linux-Kernel)