kernfs (BSD)

From HandWiki

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 /kern 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 /kern 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

References