Skip to content

Commit 9f4552b

Browse files
committed
Inform user before long trim operation
Trimming huge TemplateVMs or StandaloneVMs could take a lot of time during update procedure. This might confuse user and imply that the update operation has hanged. Show a message before performing the trim operation.
1 parent a1a3c04 commit 9f4552b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qubes-rpc/post-install.d/95-fstrim.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
# only run if storage is persistent
66
if [ -f /run/qubes/persistent-full ]
77
then
8+
echo "Trimming qube storage. This may take some time..."
89
fstrim -av
910
fi

0 commit comments

Comments
 (0)