aboutsummaryrefslogtreecommitdiff
path: root/suckless
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-04 15:06:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-04 15:06:30 -0300
commit0c4ee2496f8e317c3786ebabe7d8f9549cf76bee (patch)
treeb65d830a3b055ca534c637cc20602b442b121820 /suckless
parent5c1d5c1ef84bc10431a86dd145feb4fba24a86b5 (diff)
downloadblog-0c4ee2496f8e317c3786ebabe7d8f9549cf76bee.tar.gz
blog-0c4ee2496f8e317c3786ebabe7d8f9549cf76bee.tar.bz2
Suckless: virtual: virt-sparsify command line
Diffstat (limited to 'suckless')
-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