kernfs (BSD)

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In BSD and some other Unix-like distributions, kernfs is a pseudo file system (pseudo in that it is dynamically generated during booting of the operating system) that provides access to information on the currently running kernel.[1] Like procfs, it does not consist of actual files on media but instead allows processes to access system information by accessing virtual files. The file system is often mounted at the /kern directory.

kernfs first appeared in 4.4BSD,[1] and NetBSD 5.0 continues to use kernfs by default while mounting it at the canonical /kern mount point.

See also[edit]

  • kernfs (Linux) – a set of functions containing the logic used for creating virtual file systems

References[edit]

  1. ^ a b "kernfs(5) – kernel file system". gsp.com. December 14, 1996. Archived from the original on September 28, 2007. Retrieved May 6, 2014.