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

CONFIG_SYSFS_DEPRECATED_V2: Enable deprecated sysfs features by default

General informations

The Linux kernel configuration item CONFIG_SYSFS_DEPRECATED_V2 has multiple definitions:

Enable deprecated sysfs features by default found in init/Kconfig

The configuration item CONFIG_SYSFS_DEPRECATED_V2:

Help text

Enable deprecated sysfs by default.

See the SYSFS_DEPRECATED option for more details about this option.

Only if you are using a new kernel on an old distribution, you might need to say Y here. Even then, odds are you would not need it enabled, you can always pass the boot option if absolutely necessary.

enabled deprecated sysfs features by default found in init/Kconfig

The configuration item CONFIG_SYSFS_DEPRECATED_V2:

Help text

Enable deprecated sysfs by default.

See the SYSFS_DEPRECATED option for more details about this option.

Only if you are using a new kernel on an old distribution, you might need to say Y here. Even then, odds are you would not need it enabled, you can always pass the boot option if absolutely necessary.

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

The configuration item CONFIG_SYSFS_DEPRECATED_V2:

Help text

This option switches the layout of sysfs to the deprecated version. Do not use it on recent distributions.

The current sysfs layout features a unified device tree at /sys/devices/, which is able to express a hierarchy between class devices. If the deprecated option is set to Y, the unified device tree is split into a bus device tree at /sys/devices/ and several individual class device trees at /sys/class/. The class and bus devices will be connected by "<subsystem>:<name>" and the "device" links. The "block" class devices, will not show up in /sys/class/block/. Some subsystems will suppress the creation of some devices which depend on the unified device tree.

This option is not a pure compatibility option that can be safely enabled on newer distributions. It will change the layout of sysfs to the non-extensible deprecated version, and disable some features, which can not be exported without confusing older userspace tools. Since 2007/2008 all major distributions do not enable this option, and ship no tools which depend on the deprecated layout or this option.

If you are using a new kernel on an older distribution, or use older userspace tools, you might need to say Y here. Do not say Y, if the original kernel, that came with your distribution, has this option set to N.

enable deprecated sysfs features which may confuse old userspace tools found in init/Kconfig

The configuration item CONFIG_SYSFS_DEPRECATED_V2:

Help text

This option switches the layout of sysfs to the deprecated version. Do not use it on recent distributions.

The current sysfs layout features a unified device tree at /sys/devices/, which is able to express a hierarchy between class devices. If the deprecated option is set to Y, the unified device tree is split into a bus device tree at /sys/devices/ and several individual class device trees at /sys/class/. The class and bus devices will be connected by "<subsystem>:<name>" and the "device" links. The "block" class devices, will not show up in /sys/class/block/. Some subsystems will suppress the creation of some devices which depend on the unified device tree.

This option is not a pure compatibility option that can be safely enabled on newer distributions. It will change the layout of sysfs to the non-extensible deprecated version, and disable some features, which can not be exported without confusing older userspace tools. Since 2007/2008 all major distributions do not enable this option, and ship no tools which depend on the deprecated layout or this option.

If you are using a new kernel on an older distribution, or use older userspace tools, you might need to say Y here. Do not say Y, if the original kernel, that came with your distribution, has this option set to N.

remove sysfs features which may confuse old userspace tools found in init/Kconfig

The configuration item CONFIG_SYSFS_DEPRECATED_V2:

Help text

This option switches the layout of sysfs to the deprecated version. Do not use it on recent distributions.

The current sysfs layout features a unified device tree at /sys/devices/, which is able to express a hierarchy between class devices. If the deprecated option is set to Y, the unified device tree is split into a bus device tree at /sys/devices/ and several individual class device trees at /sys/class/. The class and bus devices will be connected by "<subsystem>:<name>" and the "device" links. The "block" class devices, will not show up in /sys/class/block/. Some subsystems will suppress the creation of some devices which depend on the unified device tree.

This option is not a pure compatibility option that can be safely enabled on newer distributions. It will change the layout of sysfs to the non-extensible deprecated version, and disable some features, which can not be exported without confusing older userspace tools. Since 2007/2008 all major distributions do not enable this option, and ship no tools which depend on the deprecated layout or this option.

If you are using a new kernel on an older distribution, or use older userspace tools, you might need to say Y here. Do not say Y, if the original kernel, that came with your distribution, has this option set to N.

Create deprecated sysfs layout for older userspace tools found in init/Kconfig

The configuration item CONFIG_SYSFS_DEPRECATED_V2:

Help text

This option switches the layout of sysfs to the deprecated version.

The current sysfs layout features a unified device tree at /sys/devices/, which is able to express a hierarchy between class devices. If the deprecated option is set to Y, the unified device tree is split into a bus device tree at /sys/devices/ and several individual class device trees at /sys/class/. The class and bus devices will be connected by "<subsystem>:<name>" and the "device" links. The "block" class devices, will not show up in /sys/class/block/. Some subsystems will suppress the creation of some devices which depend on the unified device tree.

This option is not a pure compatibility option that can be safely enabled on newer distributions. It will change the layout of sysfs to the non-extensible deprecated version, and disable some features, which can not be exported without confusing older userspace tools. Since 2007/2008 all major distributions do not enable this option, and ship no tools which depend on the deprecated layout or this option.

If you are using a new kernel on an older distribution, or use older userspace tools, you might need to say Y here. Do not say Y, if the original kernel, that came with your distribution, has this option set to N.

Create deprecated sysfs files found in init/Kconfig

The configuration item CONFIG_SYSFS_DEPRECATED_V2:

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 and some userspace programs.

If you are using a distro with the most recent userspace packages, 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