mirror of
https://github.com/systemd/systemd.git
synced 2025-02-24 17:57:34 +03:00
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.
This commit is contained in:
parent
451d691ae1
commit
fed2b07ebc
@ -2244,7 +2244,8 @@ dist_tmpfiles_DATA = \
|
||||
tmpfiles.d/systemd-nologin.conf \
|
||||
tmpfiles.d/tmp.conf \
|
||||
tmpfiles.d/x11.conf \
|
||||
tmpfiles.d/var.conf
|
||||
tmpfiles.d/var.conf \
|
||||
tmpfiles.d/home.conf
|
||||
|
||||
if HAVE_SYSV_COMPAT
|
||||
dist_tmpfiles_DATA += \
|
||||
|
11
tmpfiles.d/home.conf
Normal file
11
tmpfiles.d/home.conf
Normal file
@ -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 - - -
|
@ -7,7 +7,7 @@
|
||||
|
||||
# See tmpfiles.d(5) for details
|
||||
|
||||
d /var 0755 - - -
|
||||
v /var 0755 - - -
|
||||
|
||||
L /var/run - - - - ../run
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user