Comment 9 for bug 1589289

Revision history for this message
Eric Desrochers (slashd) wrote :

from:
#!/bin/sh
# trim all mounted file systems which support it
/sbin/fstrim --all || true

to:

#!/bin/sh
# trim all mounted file systems which support it
if ! /usr/bin/systemd-detect-virt -q -c; then
/sbin/fstrim --all || true
fi