Re: initramfs

From: Wakko Warner
Date: Wed May 25 2005 - 13:58:51 EST


Lennart Sorensen wrote:
> I didn't know you could use CPIO archives as initrd images. I have used
> gzip'd ext2 and cramfs (on Debian kernels only so far). Actually I
> didn't know cpio was even considered a filesystem (and hence would be
> difficult to mount at all).

Apparently, initrd is just a name and a buffer. Whatever it does with it is
a different story. If the buffer looks like a cpio archive, it mounts tmpfs
as / and populates it from the archive. No ramdisk driver, no filesystem
driver required.

Unfortunately for me, it doesn't work. I'm still trying to figure out how
it works.

--
Lab tests show that use of micro$oft causes cancer in lab animals
-
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/