[systemd-devel] [PATCH] tmpfiles: don't create subvolumes in chroot

"Jóhann B. Guðmundsson" johannbg at gmail.com
Wed Apr 1 14:04:28 PDT 2015



On 04/01/2015 02:37 PM, Lennart Poettering wrote:
> Note that I intend to add more subvolume lines to tmpfiles even. For
> example, I am pretty sure /home should be created as subvolume if it
> doesn't exist already, and similar.

I'm afraid that will still only work on a single host setup ( 
laptop/desktop ) and I'm pretty sure if the intent from you is to 
default to more subvolume creation i'm afraid you will start conflicting 
with installers on top of everything else as well.

If and when the time comes and btrfs has become the default filesystem 
in all the major distribution using systemd and the knowledge and the 
experience of it's usage has become widespread enough, the decision to 
default to subvolume creation if on btrfs can be re-visited but until 
that time arrives sticking with directory creation is the right way to 
go because you are creating more problems for everybody than you are 
thinking you are solving.

JBG


More information about the systemd-devel mailing list