[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.4.1: cramfs and initrd



On Fri, Mar 30, 2001 at 10:49:37PM +1000, Herbert Xu wrote:
> But why are you compiling cramfs in if you're using ext2 initrd images?
> The images I make can't handle ext2 images anyway since ext2 isn't compiled
> in.

Well, I took it from the kernel-source changelog and the description
in the mkcramfs deb, that cramfs would be the norm for your kernels in
the future.  Since I needed an initrd (I'm running boot+root on LVM),
I thought I'd give cramfs a go.

Unfortunately, I need a writable /etc to activate the LVM volumes.
I made it work with tmpfs, but it was clumsy.  I switched to ext2 when I
discovered I could gzip about 1MB of files in a 4MB ext2 down to 384KB.
That's about 2/3 the size of the equivalent cramfs and easily fits on a
rescue floppy.

I left cramfs in as I thought I might be sorry later if I left it out ...
It took me ages to figure out why my ext2 ramdisks broke.  :-P

Mark.



Reply to: