Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 See also  





2 References  





3 External links  














kernfs (Linux)






Español


 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


In the Linux kernel, kernfs is a set of functions that contain the functionality required for creating the pseudo file systems used internally by various kernel subsystems so that they may use virtual files. For example, sysfs provides a set of virtual files by exporting information about hardware devices and associated device drivers from the kernel's device model to user space.

The creation of kernfs resulted from splitting off part of the internal logic used by sysfs. The associated patchset, with Tejun Heo as its main author, was merged into the Linux kernel mainline in kernel version 3.14, which was released on March 30, 2014.[1][2] Kernfs took the independent and reusable functionality of sysfs so other kernel subsystems can implement their own pseudo file systems more easily and consistently.[1][3][4]

One of the primary users of kernfs is the pseudo file system used internally by cgroups, whose redesign continued into version 3.15 of the Linux kernel.[5]

See also[edit]

References[edit]

  1. ^ a b Tejun Heo (October 13, 2013). "Linux kernel source tree: kernel/git/torvalds/linux.git: sysfs, kernfs: add skeletons for kernfs". kernel.org. Retrieved April 2, 2014.
  • ^ "Linux kernel 3.14, Section 3. Core". kernelnewbies.org. March 30, 2014. Retrieved July 25, 2014.
  • ^ Michael Larabel (January 20, 2014). "Linux kernel's sysfs logic turns into "kernfs" for 3.14". Phoronix. Retrieved April 2, 2014.
  • ^ Tejun Heo (October 24, 2013). "sysfs: separate out kernfs, part #1". LWN.net. Retrieved July 25, 2014.
  • ^ Tejun Heo (February 11, 2014). "Linux kernel source tree: kernel/git/torvalds/linux.git: cgroups: convert to kernfs". kernel.org. Retrieved May 23, 2014.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Kernfs_(Linux)&oldid=1166224372"

    Categories: 
    Interfaces of the Linux kernel
    Linux kernel features
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    Use mdy dates from August 2014
     



    This page was last edited on 20 July 2023, at 04:48 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki