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 ) id 1R1Rjo-0006kg-M9 for garchives@archives.gentoo.org; Wed, 07 Sep 2011 23:41:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0942521C02A; Wed, 7 Sep 2011 23:40:48 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id E1D1321C02A for ; Wed, 7 Sep 2011 23:39:42 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so185776bkb.40 for ; Wed, 07 Sep 2011 16:39:42 -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=4o+KdQLt5vPSz6Z9o9MEQ++iHXO5v75KjzeI8G71oFI=; b=XAzJt4r6HzbeDPYIiS4lzHPiCNxprtNQTcFLt+QeXg0RJOOMXT7tHkEmRZbmHPhSiW maBheWFWzmo9sBaMlwDsa+MvrzG8zC22DUiUtPiByUaenENwgaWAn1tkO7fwKDEyfEqV ABdSzWJGkR5fZSDK7PAGyX2PVTD0Je0w5AzbI= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.152.218 with SMTP id h26mr1558bkw.260.1315438781922; Wed, 07 Sep 2011 16:39:41 -0700 (PDT) Received: by 10.204.134.153 with HTTP; Wed, 7 Sep 2011 16:39:41 -0700 (PDT) In-Reply-To: References: <201108191109.34984.michaelkintzios@gmail.com> <20110907050952.GA2588@linux1> <4E66FFFA.2020600@gmail.com> <201109071923.39954.Dan.Johansson@dmj.nu> <20110907235457.691be720@zaphod.digimed.co.uk> Date: Wed, 7 Sep 2011 19:39:41 -0400 Message-ID: Subject: Re: [gentoo-user] /dev/sda* missing at boot From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: e0e70a98fb014f41f9e3b35449b550c4 On Wed, Sep 7, 2011 at 7:04 PM, Canek Pel=C3=A1ez Vald=C3=A9s wrote: > On Wed, Sep 7, 2011 at 6:54 PM, Neil Bothwick wrote: >> On Wed, 7 Sep 2011 13:52:22 -0400, Canek Pel=C3=A1ez Vald=C3=A9s wrote: >> >>> After reading that, and other similar threads, I still don't >>> understand the benefits of a separated /usr. >> >> 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. A few months ago, I had to recover a live Debian machine which had massive filesystem corruption in /usr; the hard drive it was on had begun going bad, and it was taking out /usr slowly. I wound up being able to recover by doing a full reinstall of all packages on the live system after mounting /usr into a freshly-mkfs'd new lvm volume. If I'd taken the system offline, it would have been much more difficult. (As it was, I was shocked it worked) > >>> 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 / So, no hobbyists? Operating a 'sane' environment at home isn't how I've taught myself Linux. In a production environment, sure; having everything possible be read-only is nice, from a security standpoint. > > Again, I don't see the reason for a separated /usr. But *again*, if > that's what you want, you will be able to do it. You will just need an > initramfs. Yeah, great. Used to be, I could configure needed components to be built-ins in the kernel. --=20 :wq