summaryrefslogtreecommitdiff
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-21 17:28:16 +0200
committerSven Eden <yamakuzure@gmx.net>2017-03-14 08:08:15 +0100
commitb3d7bd863e654453b899387778368e3af23a08a7 (patch)
tree06a27ad8596cf65800d16d126919e5abb94dd018 /tmpfiles.d
parentb3a7b51d00ce9dd1a4923d12d4c2a529fcf5df80 (diff)
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.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/tmpfiles.d/home.conf b/tmpfiles.d/home.conf
new file mode 100644
index 000000000..aa652b197
--- /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 - - -