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.77) (envelope-from ) id 1SqCEL-0003TO-Ob for garchives@archives.gentoo.org; Sat, 14 Jul 2012 23:58:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9F5AE0654; Sat, 14 Jul 2012 23:58:19 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 2D846E0509 for ; Sat, 14 Jul 2012 23:57:41 +0000 (UTC) Received: by bkwj4 with SMTP id j4so3672344bkw.40 for ; Sat, 14 Jul 2012 16:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=K0qwMlMMGk/wUFIYN90pqmPy3BG9FzdJZiRvaywCswc=; b=LXPwTBjirGnPGZmRm/U2KSGq+5s1QyccCceKMdJAI/fizrnIFThKaaKUwrdVK1FOBj vT7WPMLIB7aoc4xR3P05T7LsOVfDyl6vTsHd6FLhPyMNfP9A0JFtIrP5omX5zHtwIHWt L1mrTVMEhmxXVXVe8MwsFhr6D+MfEhqjkS8pMhn6KWz6x6JEqqoFiEU0lmuTPIGaRcFF 7fxfiLHB/nCGHR5/oXQ8vkOOq95b3GnTcgu14LN9HQ6TehDFkyUrJFZeI23PI9hAIKlm A/VhfrAj+9yvyTBqDHvD5f5byOVM/uQ6QoS7sw6v3TGWBnppQ6BW+al1fzfqA683+4LX iOuQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.152.211 with SMTP id h19mr3007232bkw.45.1342310261269; Sat, 14 Jul 2012 16:57:41 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.205.35.79 with HTTP; Sat, 14 Jul 2012 16:57:41 -0700 (PDT) In-Reply-To: References: <20120712200741.GB3723@waltdnes.org> <20120712222931.GA3044@linux1> <20120713200449.GA6292@waltdnes.org> <50008143.3050708@gentoo.org> <20120714001343.GA6879@waltdnes.org> <20120714031327.GA8799@linux1> <20120714210221.30059.qmail@stuge.se> Date: Sat, 14 Jul 2012 19:57:41 -0400 X-Google-Sender-Auth: 5u3c0CRLlpaM8s_qY_QYMyiKpVc Message-ID: Subject: Re: [gentoo-dev] Re: udev <-> mdev From: Rich Freeman To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: 4b9b90d4-2b51-449f-b06e-6e7ed9f0b694 X-Archives-Hash: 4c7b6835e074f227b67300a58cb8b034 On Sat, Jul 14, 2012 at 7:38 PM, Duncan <1i5t5.duncan@cox.net> wrote: > BTW, any "gentooish" documentation out there on rootfs as tmpfs, with > /etc and the like mounted on top of it, operationally ro, rw remounted > for updates? > > That's obviously going to take an initr*, which I've never really > understood to the point I'm comfortable with my ability to recover from > problems so I've not run one since my Mandrake era, but that's a status > that can change, and what with the /usr move and some computer problems I > just finished dealing with, I've been thinking about the possibility > lately. So if there's some good docs on the topic someone can point me > at, I'd be grateful. =:^) I doubt anybody has tried it, so you'll have to experiment. I imagine you could do it with a dracut module. There is already a module that will parse a pre-boot fstab (/etc/fstab.sys). The trick is that you need to create the root filesystem and the mountpoints within it first. The trick will be how dracut handles not specifying a root filesystem. However, if anything I think the future trend will be towards having everything back on the root filesystem, since with btrfs you can set quotas on subvolumes and have a lot more flexibility in general, which you start to lose if you chop up your disks. However, I guess you could still have one big btrfs filesystem and mount individual subvolumes out of it onto your root. I'm not really sure what that gets you. Having the root itself be a subvolume does have benefits, since you can then snapshot it and easily boot back off a snapshot if something goes wrong. Rich