Re: Initramfs and TMPFS!
From: Chris Wedgwood
Date: Fri Aug 26 2005 - 23:15:27 EST
On Sat, Aug 27, 2005 at 03:21:27AM +0000, Kent Robotti wrote:
> The purpose of the patch is to overmount ramfs/rootfs with tmpfs before
> the compressed cpio archive is unpacked and /init is run.
yes and no
there are people who want the overmount even without cpio
decompression
> But, it's only needed because the current initramfs implementation
> doesn't offer tmpfs as an option.
tmpfs isn't initialized early enough; i've hacked around this but a
cleaner solution is needed
> /init could just be a symbolic link to /sbin/init, or it could be
> some other executable (shell script etc.), but there would be no
> need to pivot or move root.
pivot is evil, it probably should be depricated
-
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/