Linux 6.4 To Remove Old Workaround For Running On Very Outdated Distributions

Written by Michael Larabel in Linux Kernel on 12 March 2023 at 07:23 AM EDT. 24 Comments
LINUX KERNEL
Linux 6.4 is set to remove the old CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2 options that are used for running newer versions of the Linux kernel with very old Linux distributions and user-space tools. Pre 2007~2008 distributions as a result would likely run into trouble trying to run on Linux 6.4+ kernels.

These options that are finishing being cleared out allow for enabling deprecated sysfs features for supporting old user-space tools like udev. One of the last deprecated workarounds remaining by this option is for having block devices appear in the old /sys/block location rather than /sys/class/block.

Fedora Core 4


Around 2006 is when user-space tools such as udev began seeing updates for the modern sysfs block location and work fine with newer kernels. Pre-2006 distributions not relying on udev are likely to be fine still too. But for those wanting to run a modern Linux kernel on the likes of Fedora Core 3, those days are numbered.

This patch by Greg Kroah-Hartman in driver-core-next drops the CONFIG_SYSFS_DEPRECATED / CONFIG_SYSFS_DEPRECATED_V2 options ahead of the Linux 6.4 cycle. Again this change should only affect nearly two decade old Linux distributions that have long been end-of-life. Building a modern kernel on those Linux distributions in recent years would likely have already proved challenging due to heightened Linux kernel compiler requirements and other factors.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week