lkml.org 
[lkml]   [2011]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] init: Support mounting devices from kernel command line
From
On Mon, Jul 18, 2011 at 3:15 PM, Michael Tokarev <mjt@tls.msk.ru> wrote:
>>> 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...

Well, we can currently boot distro images using custom kernel combined
with distro initramfs. I'm not sure how we can inject our mount point
to initramfs as easily.

I don't think it's backwards progress but then again, I don't really
use initramfs or modules for that matter so maybe I'm just old
fashioned.

Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-07-18 14:31    [from the cache]
©2003-2011 Jasper Spaans