[arch-projects] [mkinitcpio][PATCH 04/11] init: create /run/initramfs after mounting /run

Tom Gundersen teg at jklm.no
Fri Nov 11 23:40:29 EST 2011


On Sat, Nov 12, 2011 at 1:55 PM, Dave Reisner <d at falconindy.com> wrote:
> We'll use this as a channel to communicate with later userspace.
>
> Signed-off-by: Dave Reisner <dreisner at archlinux.org>

As mentioned on IRC: I agree with the idea, but maybe we could go one
step further:

Add /bin/cp from coreutils and rather than just creating
/run/initramfs, copy the whole initramfs to /run/initramfs so we have
access to the whole initramfs from the real system.

This is a prerequisite of proper shutdownramfs, but I think it could
also open the door for other interesting features, so we shouldn't
necessarily link it to the shutdown stuff.

-t


More information about the arch-projects mailing list