Re: [PATCH] init: Support mounting devices from kernel command line

From: Michael Tokarev
Date: Mon Jul 18 2011 - 08:15:09 EST

18.07.2011 15:55, Pekka Enberg wrote:
> On Mon, Jul 18, 2011 at 12:06 PM, Sasha Levin <levinsasha928@xxxxxxxxx> wrote:
>> This patch adds support to mounting devices using a kernel parameter.
>> Such feature is usefull for virtual guests. It allows easily automating
>> mounts without having to change the base image (which can be read-only).
>> In /tools/kvm we are interested in such feature to allow us to automatically
>> mount user home directory using virtio-9p from the host to the guest
>> filesystem under '/hostfs'.

Can't the same be done within initramfs just as easy?

Long time ago when initramfs first appeared the plan was to,
more or less, move all that mounting and root= handling
functionality to userspae, and here we're adding more
to kernel. To me that sounds backwards...


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at