From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G5g4V-0000iY-Rc for qemu-devel@nongnu.org; Wed, 26 Jul 2006 05:52:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G5g4V-0000iL-1s for qemu-devel@nongnu.org; Wed, 26 Jul 2006 05:52:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G5g4U-0000iI-TJ for qemu-devel@nongnu.org; Wed, 26 Jul 2006 05:52:54 -0400 Received: from [203.190.192.17] (helo=wasp.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G5g60-0007rO-9A for qemu-devel@nongnu.org; Wed, 26 Jul 2006 05:54:28 -0400 Message-ID: <44C73B6A.4010403@wasp.net.au> Date: Wed, 26 Jul 2006 13:52:42 +0400 From: Brad Campbell MIME-Version: 1.0 Subject: Re: [Qemu-devel] Wipe patch References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ZIGLIO, Frediano, VF-IT wrote: > > I use the patch to reduce image size. I use a RIP (repair is possible) > ISO image to boot a small Linux system where I can issue ntfswipe (or > any other wipe command). Than I can recompress image with qemu-img. Yes, I do similar at the moment. I just boot the windows guest session and use eraser or winhex to erase free space and then recompress with qemu-img. For ext2/3 I use a kernel and utility initramfs I knocked up and then run zerofree on the partition. That works nicely. I'll investigate ntfswipe as that sounds like it might help me make a fully automated re-compression utility. Brad -- "Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." -- Douglas Adams