From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-127900-garchives=archives.gentoo.org@lists.gentoo.org>) id 1R1nhT-00030S-Cm for garchives@archives.gentoo.org; Thu, 08 Sep 2011 23:08:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77F0821C437; Thu, 8 Sep 2011 23:07:42 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 0583221C433 for <gentoo-user@lists.gentoo.org>; Thu, 8 Sep 2011 23:05:51 +0000 (UTC) Received: by wwf25 with SMTP id 25so452512wwf.10 for <gentoo-user@lists.gentoo.org>; Thu, 08 Sep 2011 16:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=mZvH/r+pwy0dj1+zjSRVS9lHnFT0lj4nIKpKHvQGVYA=; b=up9wge52KtdCNEBk+w0HBcKOe/fL/GVXIWHKwIsDrIHZpUQxxgNCIQ6OQvWeFlGz69 6NfpCYdYkeI2OUogZc8u3jOtpRKe0OQYZYRfiBgD9+YAfYW9eQppeW12Ao8rn1RibJQB EdsMAinQ0FBUGi9g8U4WdAumL51mSJ+yIM+mI= Received: by 10.227.10.206 with SMTP id q14mr1419798wbq.33.1315523151218; Thu, 08 Sep 2011 16:05:51 -0700 (PDT) Received: from rohan (196-210-153-55.dynamic.isadsl.co.za [196.210.153.55]) by mx.google.com with ESMTPS id l13sm5718928wbp.20.2011.09.08.16.05.48 (version=SSLv3 cipher=OTHER); Thu, 08 Sep 2011 16:05:50 -0700 (PDT) Date: Fri, 9 Sep 2011 01:05:34 +0200 From: Alan McKinnon <alan.mckinnon@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /dev/sda* missing at boot Message-ID: <20110909010534.1ec5f1a7@rohan> In-Reply-To: <20110908223115.GD2338@acm.acm> References: <201108191109.34984.michaelkintzios@gmail.com> <20110908220536.55dd3798@rohan> <CADPrc80VoojW=mpy1qudHpHT=uHY_=tgm9hwv9psEVrrGpg_uw@mail.gmail.com> <1868314.dUVoYqWeDk@pc> <20110908212940.GB2338@acm.acm> <20110908234441.06901191@rohan> <20110908223115.GD2338@acm.acm> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; x86_64-pc-linux-gnu) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 436e5ab6685ef02f72f39cafb948e3a0 On Thu, 8 Sep 2011 22:31:15 +0000 Alan Mackenzie <acm@muc.de> wrote: > On Thu, Sep 08, 2011 at 11:44:41PM +0200, Alan McKinnon wrote: > > > > Would it not be possible to have a minimal /usr tree in the root > > > partition for udev's use at boot time, and to later mount a more > > > robust /usr partition over this? What am I missing here? > > > A big problem will be that the package manager cannot easily > > maintain that "phase 1" code as it's under another mount point. > > Doing so would require the package manager to bind-mount / > > somewhere and copy updated binaries of essential packages there as > > well as into the real /usr. Not an insurmountable problem, it just > > requires changes to all affected packages, and well within the > > capabilities of distros. > > > As a workaround, it's certainly a fine example. But I suspect it > > will annoy a lot of users and support people due to this "hidden" > > code being on the filesystem. If I were a package maintainer, I > > know I'd feel a little annoyed with having to track yet another > > trait in my packages. > > I'm trying to think of some solution that won't annoy lots of people. > What on earth were the developers thinking when they swept away the > fundamentals assumptions of booting? FWIW, I definitely expect at least some distros to consider your idea seriously (or something similar to it). It's hacky, no denying it, but no less hacky than the entire concept of an initramfs itself (think it through for a few minutes, the parallels are so exact it's amazing). -- Alan McKinnnon alan.mckinnon@gmail.com