summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2023-08-08 00:20:59 +0200
committerAndreas Fankhauser hiddenalpha.ch2023-08-08 00:20:59 +0200
commit98de10bf38ca6c02fcb2c1b1f8f26d9baee20ef1 (patch)
tree3c46a40680e43b122f804b775545de54914b422e
parentfb409fc4e2bb5c5302b439db3a394ca00a629d4e (diff)
downloadUnspecifiedGarbage-98de10bf38ca6c02fcb2c1b1f8f26d9baee20ef1.zip
UnspecifiedGarbage-98de10bf38ca6c02fcb2c1b1f8f26d9baee20ef1.tar.gz
(qemu) Add note how to clean sparse images.
-rw-r--r--doc/note/qemu/qemu.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/note/qemu/qemu.txt b/doc/note/qemu/qemu.txt
index 47d7262..11b8b60 100644
--- a/doc/note/qemu/qemu.txt
+++ b/doc/note/qemu/qemu.txt
@@ -12,6 +12,12 @@ Qemu
qemu-img create -f qcow2 my_disk.qcow2 16G
+## Shrink img
+
+ sdelete -z C:
+ qemu-img convert -O qcow2 input.qcow output.qcow2
+
+
## amd64
# Choose whichever fits the need