Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - S index

CONFIG_SYSFS_DEPRECATED: Enable deprecated sysfs features to support old userspace tools

General informations

The Linux kernel configuration item CONFIG_SYSFS_DEPRECATED has multiple definitions:

Enable deprecated sysfs features to support old userspace tools found in init/Kconfig

The configuration item CONFIG_SYSFS_DEPRECATED:

Help text

This option adds code that switches the layout of the "block" class devices, to not show up in /sys/class/block/, but only in /sys/block/.

This switch is only active when the sysfs.deprecated=1 boot option is passed or the SYSFS_DEPRECATED_V2 option is set.

This option allows new kernels to run on old distributions and tools, which might get confused by /sys/class/block/. Since 2007/2008 all major distributions and tools handle this just fine.

Recent distributions and userspace tools after 2009/2010 depend on the existence of /sys/class/block/, and will not work with this option enabled.

Only if you are using a new kernel on an old distribution, you might need to say Y here.

enable deprecated sysfs features to support old userspace tools found in init/Kconfig

The configuration item CONFIG_SYSFS_DEPRECATED:

Help text

This option adds code that switches the layout of the "block" class devices, to not show up in /sys/class/block/, but only in /sys/block/.

This switch is only active when the sysfs.deprecated=1 boot option is passed or the SYSFS_DEPRECATED_V2 option is set.

This option allows new kernels to run on old distributions and tools, which might get confused by /sys/class/block/. Since 2007/2008 all major distributions and tools handle this just fine.

Recent distributions and userspace tools after 2009/2010 depend on the existence of /sys/class/block/, and will not work with this option enabled.

Only if you are using a new kernel on an old distribution, you might need to say Y here.

found in init/Kconfig

The configuration item CONFIG_SYSFS_DEPRECATED:

Help text

(none)

Create deprecated sysfs files found in init/Kconfig

The configuration item CONFIG_SYSFS_DEPRECATED:

Help text

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 hierarchy, 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.

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - S index

Automatically generated (in year 2024). See also LKDDb sources on GitLab