aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--suckless/virtual.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/suckless/virtual.mdwn b/suckless/virtual.mdwn
index fbcc13b..51c01c1 100644
--- a/suckless/virtual.mdwn
+++ b/suckless/virtual.mdwn
@@ -97,3 +97,5 @@ Image optimization:
* [Tip: Making a disk image sparse | Richard WM Jones](https://rwmj.wordpress.com/2010/10/19/tip-making-a-disk-image-sparse/).
* [How to convert a non-sparse image to a sparse image – Patrick's Blog(2)](https://blog.laimbock.com/2013/10/31/how-to-convert-a-non-sparse-image-to-sparse/).
+
+ ionice -c 3 nice -n 19 virt-sparsify --tmp /tmp --convert qcow2 --compress box.img box.new && mv box.new box.img