Skip to content

Commit

Permalink
CONFIG_SYSFS_DEPRECATED
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Dec 1, 2006
1 parent f0ee61a commit 88a22c9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 88a22c9

Please sign in to comment.