Gentoo Archives: gentoo-user

From: "Jesús J. Guerrero Botella" <jesus.guerrero.botella@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How can I rewrite all empty sectors with zeros?
Date: Sun, 22 Jul 2012 17:38:32
Message-Id: CAMix8LH5uVtwSsrU9wbN1tM2UxySMF5DSzaEdd9M3mDzOmCz8A@mail.gmail.com
In Reply to: [gentoo-user] How can I rewrite all empty sectors with zeros? by Jarry
1 You can just fill a file with zeros and let it grow until de device is
2 full.
3
4 dd if=/dev/zero of=/foo.0
5 El 22/07/2012 19:26, "Jarry" <mr.jarry@×××××.com> escribió:
6
7 > Hi,
8 > I want to backup my whole hard-drive (8 partitions) with:
9 > # dd if=/dev/sda | gzip > /path/image.gz
10 >
11 > In order to achieve good compression level I'd like to wipe
12 > out all empty space with zeros. How can I do that?
13 >
14 > Jarry
15 > --
16 > ______________________________**______________________________**___
17 > This mailbox accepts e-mails only from selected mailing-lists!
18 > Everything else is considered to be spam and therefore deleted.
19 >
20 >
21 >