Kernfs (BSD) explained
In the Berkeley Software Distribution (BSD) and its descendants, kernfs is a pseudo file system that provides access to information on the currently running kernel. The file system itself and its content are dynamically generated when the operating system is booted, and the kernfs is often mounted at the directory.[1] [2] As a result of its nature, kernfs does not consist of actual files on a storage device, allowing instead processes to retrieve system information by accessing virtual files.[3]
kernfs first appeared in 4.4BSD,[1] and NetBSD 6.0 continues to use kernfs by default while mounting it at the canonical mount point.[4]
See also
- procfs a special file system in Unix-like operating systems that presents information about processes and other system information
- tmpfs a common name for a temporary file storage facility on many Unix-like operating systems
Notes and References
- Web site: kernfs(5) – kernel file system . https://web.archive.org/web/20070928143453/http://www.gsp.com/cgi-bin/man.cgi?section=5&topic=kernfs . December 14, 1996 . May 6, 2014 . September 28, 2007 . gsp.com .
- Web site: Rewrite kernfs and procfs . September 8, 2014 . March 24, 2015 . netbsd.org.
- Web site: [ftp://ftp.isi.edu/isi-pubs/tr-579.pdf
NetFS: Networking through the File System, Section 6.1 Procfs and Kernfs
]. https://web.archive.org/web/20170705055708/ftp://ftp.isi.edu/isi-pubs/tr-579.pdf . dead . 2017-07-05 . December 9, 2003 . July 4, 2016 . Joshua Train . Joseph D. Touch . Lars Eggert . Yu-Shun Wang . isi.edu . 8 .
- Web site: mount_kernfs(8) – mount the /kern file system . September 8, 2003 . March 24, 2015 . netbsd.gw.com . September 13, 2016 . https://web.archive.org/web/20160913165743/http://netbsd.gw.com/cgi-bin/man-cgi?mount_kernfs+8+NetBSD-6.0+i386 . dead .