Skip to content

Commit

Permalink
tmpfiles.d: change all subvolumes to use quota
Browse files Browse the repository at this point in the history
Let's make sure the subvolumes we create fit into a sensible definition
of a quota tree.
  • Loading branch information
poettering committed Oct 21, 2015
1 parent 5fb13eb commit 822cd60
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tmpfiles.d/home.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

# See tmpfiles.d(5) for details

v /home 0755 - - -
v /srv 0755 - - -
Q /home 0755 - - -
q /srv 0755 - - -
2 changes: 1 addition & 1 deletion tmpfiles.d/systemd-nspawn.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tmpfiles.d/tmp.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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-*
Expand Down
2 changes: 1 addition & 1 deletion tmpfiles.d/var.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# See tmpfiles.d(5) for details

v /var 0755 - - -
q /var 0755 - - -

L /var/run - - - - ../run

Expand Down

0 comments on commit 822cd60

Please sign in to comment.