diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-21 17:28:16 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-21 17:43:55 +0200 |
commit | fed2b07ebc9e8694b5b326923356028f464381ce (patch) | |
tree | d6903603f4cd54334e829bacb3f029afc1b2dde3 /tmpfiles.d | |
parent | 451d691ae110a600497348d9f6288bc84efb8642 (diff) | |
download | systemd-fed2b07ebc9e8694b5b326923356028f464381ce.tar.gz systemd-fed2b07ebc9e8694b5b326923356028f464381ce.tar.bz2 systemd-fed2b07ebc9e8694b5b326923356028f464381ce.zip |
tmpfiles: make /home and /var btrfs subvolumes by default when booted up with them missing
This way the root subvolume can be left read-only easily, and variable
and user data writable with explicit quota set.
Diffstat (limited to 'tmpfiles.d')
-rw-r--r-- | tmpfiles.d/home.conf | 11 | ||||
-rw-r--r-- | tmpfiles.d/var.conf | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/tmpfiles.d/home.conf b/tmpfiles.d/home.conf new file mode 100644 index 0000000000..aa652b197f --- /dev/null +++ b/tmpfiles.d/home.conf @@ -0,0 +1,11 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +# See tmpfiles.d(5) for details + +v /home 0755 - - - +v /srv 0755 - - - diff --git a/tmpfiles.d/var.conf b/tmpfiles.d/var.conf index 9b7644476b..814652a22c 100644 --- a/tmpfiles.d/var.conf +++ b/tmpfiles.d/var.conf @@ -7,7 +7,7 @@ # See tmpfiles.d(5) for details -d /var 0755 - - - +v /var 0755 - - - L /var/run - - - - ../run |