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-127810-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1R1VKr-0007qc-Qz
	for garchives@archives.gentoo.org; Thu, 08 Sep 2011 03:31:30 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CDA1821C191;
	Thu,  8 Sep 2011 03:31:20 +0000 (UTC)
Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 72FFA21C051
	for <gentoo-user@lists.gentoo.org>; Thu,  8 Sep 2011 03:30:17 +0000 (UTC)
Received: by wyg36 with SMTP id 36so293262wyg.40
        for <gentoo-user@lists.gentoo.org>; Wed, 07 Sep 2011 20:30:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=0jBCfp2FSkIVJ4y4oLZPVgET8P/1PGPnZYU6dBxIctU=;
        b=hca/HHgAMAUxzVJOtZEscQZomzOP86cN1jTGW47mBrhC7zvd1AykjR7URghrIbu79F
         6P15p6ehMVK5ULd42KnajyQk+F35kzXCV7aSuuln4Rp9DpoIbN9F8w6qMenpam9FNH0W
         3ntCngwnecGmBNTSOifgdCs0zihh4U27AMKkE=
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
Received: by 10.216.46.203 with SMTP id r53mr149975web.113.1315452616588; Wed,
 07 Sep 2011 20:30:16 -0700 (PDT)
Received: by 10.216.39.140 with HTTP; Wed, 7 Sep 2011 20:30:16 -0700 (PDT)
In-Reply-To: <20110908005500.58ef10fa@zaphod.digimed.co.uk>
References: <201108191109.34984.michaelkintzios@gmail.com>
	<20110907050952.GA2588@linux1>
	<4E66FFFA.2020600@gmail.com>
	<201109071923.39954.Dan.Johansson@dmj.nu>
	<CADPrc80TZkHi3d0szTHgSEG25gENLxMEOcNM5nB6SwBa8k2_xA@mail.gmail.com>
	<20110907235457.691be720@zaphod.digimed.co.uk>
	<CADPrc81XBFXQu203z1HbiPUv9gNASprWrRHu+YkakvO=PVDaLA@mail.gmail.com>
	<20110908005500.58ef10fa@zaphod.digimed.co.uk>
Date: Wed, 7 Sep 2011 23:30:16 -0400
Message-ID: <CADPrc83k2zzO6C97M+gXU1tRn6DXstz7B0tWvsrdX0iJmkhP7g@mail.gmail.com>
Subject: Re: [gentoo-user] /dev/sda* missing at boot
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: ba1577e0f5d32afbb9a21f25ba624053

On Wed, Sep 7, 2011 at 7:55 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Wed, 7 Sep 2011 19:04:17 -0400, Canek Pel=C3=A1ez Vald=C3=A9s wrote:
>
>> > Putting it on a logical volume is one advantage, allowing /usr to be
>> > resized should the need arise.
>>
>> Why not allow / to be resized entirely? You probably will take the
>> machine off-line anyway.
>
> Because you can't boot from an LV, so you'd than need a separate /boot
> and an initramfs. Without LVM, you are unlikely to be able to resize /
> or /usr as it is not usually the last partition on the drive.

So, you guys want a separated /usr, but don't want a separate /boot. Awesom=
e.

>> >> Mounting it read-only
>> >> seems the only sensible one, and then I think is better to go all the
>> >> way and mount / read-only.
>> >
>> > Putting /etc on a read-only filesystem seems a really bad idea.
>>
>> mount -o remount,rw /
>> emerge --sync && emerge -uDNv world
>> dispatch-conf
>> mount -o remount,ro /
>>
>> Or, if you only want to modify some configuration file (which in a
>> sane environment doesn't happen that often):
>>
>> mount -o remount,rw /
>> adduser fulano ...
>> mount -o remount,ro /
>
> This is longer than the init script needed in an initramfs. I wonder what
> problems you'd have when booting as the kernel tries to update the likes
> of /etc/mtab on a read-only fs.

# ls -l /etc/mtab
lrwxrwxrwx 1 root root 17 Dec  1  2010 /etc/mtab -> /proc/self/mounts

I don't see any problem at all.

>> Again, I don't see the reason for a separated /usr.
>
> That doesn't mean there aren't several valid reasons to do so.

I didn't say they were invalid, I say that *I* don't see the reason to
separate /usr. The arguments exposed just don't convice me. But
anyway, you will be able to do it with an initramfs.

>> But *again*, if
>> that's what you want, you will be able to do it. You will just need an
>> initramfs.
>
> I neither have nor need one at the moment, which means this update will
> break my system.

Then don't update. Wanna keep up with upstream? Then accept that
sometimes you will need to change your setup, and change how you do
stuff.

Regards.
--=20
Canek Pel=C3=A1ez Vald=C3=A9s
Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n
Universidad Nacional Aut=C3=B3noma de M=C3=A9xico