From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tokarev Subject: Re: [PATCH] init: Support mounting devices from kernel command line Date: Mon, 18 Jul 2011 16:15:00 +0400 Message-ID: <4E2423C4.6090906@msgid.tls.msk.ru> References: <1310979967-13470-1-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Sasha Levin , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Avi Kivity , Ingo Molnar , linux-fsdevel@vger.kernel.org To: Pekka Enberg Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 18.07.2011 15:55, Pekka Enberg wrote: > On Mon, Jul 18, 2011 at 12:06 PM, Sasha Levin 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... Thanks, /mjt