Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How can I rewrite all empty sectors with zeros?
Date: Mon, 23 Jul 2012 09:31:07
Message-Id: 20120723102828.3a0e43bf@hactar.digimed.co.uk
In Reply to: [gentoo-user] How can I rewrite all empty sectors with zeros? by Jarry
1 On Sun, 22 Jul 2012 19:18:44 +0200, Jarry wrote:
2
3 > I want to backup my whole hard-drive (8 partitions) with:
4 > # dd if=/dev/sda | gzip > /path/image.gz
5 >
6 > In order to achieve good compression level I'd like to wipe
7 > out all empty space with zeros. How can I do that?
8
9 It may be worth your while looking at partimage (which can also image
10 whole drives). It only copies used sectors so avoids the problem of
11 storing obsolete data. I believe Clonezilla uses partimage, and you'd
12 have to use a live CD to image a system drive like this anyway.
13
14
15 --
16 Neil Bothwick
17
18 War does not determine who is right -- only who is left.

Attachments

File name MIME type
signature.asc application/pgp-signature