Klibc

From Wikipedia, the free encyclopedia

klibc
Developed by H. Peter Anvin
Latest release 1.5 / March 4, 2007
OS Linux
Genre C standard library
License GNU General Public License

The klibc is a minimalistic libc subset developed by H. Peter Anvin, intended to be used within an initramfs, as part of a multi-stage Linux boot process. It is incorporated by default into initial ram filesystems that are created by the mkinitramfs script in Debian and Ubuntu. Further more it has a set of small unix utilities that are useful in early userspace (cpio, dash, fstype, mkdir, mknod, mount, nfsmount, run-init, ..).

The klibc effort states as goal to move as much initialization code in Linux as possible out of the kernel[1]: "some initialization is better done in user space" [2]

[edit] See also

[edit] References

  • Hagen, William W. (2006). The Definitive Guide to GCC, Second Edition. Berkeley, CA: APress, 286-289. ISBN 1-59059-585-8. 

[edit] External links

Languages