LWN.net Logo

klibc

klibc

Posted Sep 16, 2008 18:48 UTC (Tue) by drag (subscriber, #31333)
In reply to: klibc by katzj
Parent article: KS2008: Bootstrap code

that's why it's important to be modular.

With Debian's initramfs, for example, the packages for NFS, uswsusp, dm-crypt, etc will install their own scripts for pulling in binaries from the file system and init scripts to the /usr/share/initramfs/ and get those included. Then when you install those packages the initramfs-based initrd is rebuilt.

This way your only including support for things that are installed and your probably going to want to use. If you don't have uswsusp support in your OS then you don't have it in your initrd.


(Log in to post comments)

klibc

Posted Sep 16, 2008 21:27 UTC (Tue) by jengelh (subscriber, #33263) [Link]

And Redhat's initramfs is anything but modular. Heck, it even replicated a lot of features in its "nash" thing, like raidautorun, which, ahem, got obsoleted like when mdadm came to life.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds