[klibc] initramfs-tools 0.93 status report

maximilian attems max at stro.at
Wed Feb 18 14:23:33 PST 2009


initramfs-tools git repo:
git clone git://git.debian.org/kernel/initramfs-tools.git

initramfs-tools is an hookable initramfs generator.
It can boot on NFS, LVM2, md, LUKS, dmraid, oldstyle devices, ..
The generated initramfs is generic, but can explicitly be tuned for small.
It is actively deployed in Debian and Ubuntu. It is written in POSIX shell.
It has an "end-user" friendly invocation with update-initramfs and the low
level mkinitramfs. klibc is used for minimal initramfs. The initramfs
comes together with a rescue shell. It is possible to ssh into it.
run-init nukes initramfs, remounts /root, chroots, spawns init.

It may currently be distro specific as many Debian packages ship hooks
for it (udev, mdadm, cryptsetup, lvm2, ..). But it should be quite easy
to make it non distro specific and fix debianism (add a rpm spec, ..).

initramfs-tools is badly hit on the linux-2.6 side by races due to
SCSI_WAIT_SCAN being implemented only in some scsi drivers and
not at all on usb and scsi side.  willy had this patch to fix it:
http://www.parisc-linux.org/~willy/libata-async-2.diff


0.93 features:
- OLPC support
- hid_* modules addition
- fixes for MODULES=dep high minor partitions and Xen virtual block dev
- make deb-pkg linux-2.6 target support
- find, cpio exit codes no longer ignored
- fixes for LABEL strings with '/' 
- misc cleanups
- doc fixes


TODO:
- monolithical linux support
- MODULES=dep special case raid on top of lvm
- mawk support??
- loopback fs support (ubuntu merge)
- mount failure hooks (ubuntu merge)
- fix bugs http://bugs.debian.org/src:initramfs-tools


thanks for hacking on it, sending in patches advices or whatever.

-- 
maks



More information about the klibc mailing list