]> bbs.cooldavid.org Git - net-next-2.6.git/commit - init/initramfs.c
[PATCH] Make initramfs printk a warning on incorrect cpio type
authorArjan van de Ven <arjan@linux.intel.com>
Thu, 7 Dec 2006 04:37:19 +0000 (20:37 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:36 +0000 (08:39 -0800)
commit2e591bbc0d563e12f5a260fbbca0df7d5810910e
treec113397d49285808aaa750cf76e0961649f9f4f7
parentf6337e2af42f9ea9ce296cfa18966dcf4f045f7d
[PATCH] Make initramfs printk a warning on incorrect cpio type

It turns out that the "-c" option of cpio is highly unportable even between
distros let alone unix variants, and may actually make the wrong type of
cpio archive.  I just wasted quite some time on this, and the kernel can
detect this and warn about it (it's __init memory so it gets thrown away
and thus there is no runtime overhead)

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
init/initramfs.c