]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles.d: change all subvolumes to use quota
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Oct 2015 17:47:28 +0000 (19:47 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Oct 2015 23:59:25 +0000 (01:59 +0200)
Let's make sure the subvolumes we create fit into a sensible definition
of a quota tree.

tmpfiles.d/home.conf
tmpfiles.d/systemd-nspawn.conf
tmpfiles.d/tmp.conf
tmpfiles.d/var.conf

index aa652b197f150cccd5e7913e58fa18edde3a3273..9f25b83392a3b386b204f64a80cf2c0f42a50696 100644 (file)
@@ -7,5 +7,5 @@
 
 # See tmpfiles.d(5) for details
 
-v /home 0755 - - -
-v /srv 0755 - - -
+Q /home 0755 - - -
+q /srv 0755 - - -
index 5a3124a0fc1c90aa134eccb73e0291fec741df6e..9fa3878d6b5f92dac3b290760497e9d99217c660 100644 (file)
@@ -7,7 +7,7 @@
 
 # See tmpfiles.d(5) for details
 
-v /var/lib/machines 0700 - - -
+Q /var/lib/machines 0700 - - -
 
 # Remove old temporary snapshots, but only at boot. Ideally we'd have
 # "self-destroying" btrfs snapshots that go away if the last last
index ffdd82fd9cf5352188513fde77ed01b15f129c8c..6bbd1aa341e529661862f7cbcaaa8f07b6a932a1 100644 (file)
@@ -8,8 +8,8 @@
 # See tmpfiles.d(5) for details
 
 # Clear tmp directories separately, to make them easier to override
-v /tmp 1777 root root 10d
-v /var/tmp 1777 root root 30d
+q /tmp 1777 root root 10d
+q /var/tmp 1777 root root 30d
 
 # Exclude namespace mountpoints created with PrivateTmp=yes
 x /tmp/systemd-private-%b-*
index 472680c3bfdcfc168ad9e6867d2fafb9fc5e2d47..ae7952e77a8c797d71ef924cd547ac05842d108a 100644 (file)
@@ -7,7 +7,7 @@
 
 # See tmpfiles.d(5) for details
 
-v /var 0755 - - -
+q /var 0755 - - -
 
 L /var/run - - - - ../run