On Sat, Jul 14, 2012 at 7:38 PM, Duncan <1i5t5.dun...@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

Reply via email to