Skip to content

Commit 448290f

Browse files
committed
Merge remote-tracking branch 'origin/pr/619'
* origin/pr/619: Trim filesystems after TemplateVM update
2 parents d808c47 + 24fc791 commit 448290f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/sh
2+
3+
# perform fstrim on all partitions after finishing update-related I/O
4+
5+
# only run if storage is persistent
6+
if [ -f /run/qubes/persistent-full ]
7+
then
8+
fstrim -av
9+
fi

0 commit comments

Comments
 (0)