Linux Kernel's Sysfs Logic Turns Into "Kernfs" For 3.14

Written by Michael Larabel in Linux Kernel on 20 January 2014 at 04:54 PM EST. Add A Comment
LINUX KERNEL
The Linux 3.14 kernel is getting Kernfs, which is the splitting of the sysfs logic into an independent entity so other kernel subsystems can more easily implement their own virtual file-system.

Kernfs is the sysfs logic that in turn can be taken advantage of by other subsystems in need of a virtual file-system with handling for device connect/disconnect, dynamic creation, and other attributes.

One of the motivators for making the sysfs logic independent is for the cgroups file-system but it's also anticipated that debugfs will move to being Kernfs-based in the future. Debugfs on kernfs should be a big improvement, but the code isn't yet ready. The Kernfs code is considered stable and ready for mainlining.

Kernfs for the mainline Linux kernel is happening as part of the core driver / sysfs Git pull request by Greg Kroah-Hartman for the Linux 3.14 release. This separating out of sysfs into Kernfs is not to be confused with NetBSD's Kernfs file-system.
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