Re: Documentation/initrd.txt update

From: H. Peter Anvin
Date: Mon Jul 03 2006 - 16:22:56 EST


Guilherme Destefani wrote:
The cpio initrd isn't documented in
linux-2.6.17/Documentation/initrd.txt.
(but it is in
linux-2.6.17/Documentation/filesystems/ramfs-rootfs-initramfs.txt)
initrd.txt shouldn't be updated?

Two possible updates follow, use patch -p1 inside the kernel tree.

... and both are wrong.

initramfs != initrd, plus you specified -c to cpio, which is wrong (-H newc is correct).

You have to account for the differences between initramfs and initrd, e.g. no pivot_root in initramfs.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/