From: "Jesús J. Guerrero Botella" <jesus.guerrero.botella@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How can I rewrite all empty sectors with zeros?
Date: Sun, 22 Jul 2012 19:36:51 +0200 [thread overview]
Message-ID: <CAMix8LH5uVtwSsrU9wbN1tM2UxySMF5DSzaEdd9M3mDzOmCz8A@mail.gmail.com> (raw)
In-Reply-To: <500C35F4.9050700@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 635 bytes --]
You can just fill a file with zeros and let it grow until de device is
full.
dd if=/dev/zero of=/foo.0
El 22/07/2012 19:26, "Jarry" <mr.jarry@gmail.com> escribió:
> Hi,
> I want to backup my whole hard-drive (8 partitions) with:
> # dd if=/dev/sda | gzip > /path/image.gz
>
> In order to achieve good compression level I'd like to wipe
> out all empty space with zeros. How can I do that?
>
> Jarry
> --
> ______________________________**______________________________**___
> This mailbox accepts e-mails only from selected mailing-lists!
> Everything else is considered to be spam and therefore deleted.
>
>
>
[-- Attachment #2: Type: text/html, Size: 919 bytes --]
next prev parent reply other threads:[~2012-07-22 17:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-22 17:18 [gentoo-user] How can I rewrite all empty sectors with zeros? Jarry
2012-07-22 17:36 ` Jesús J. Guerrero Botella [this message]
2012-07-22 17:45 ` Alex Schuster
2012-07-22 18:09 ` Mick
2012-07-23 9:28 ` Neil Bothwick
2012-07-23 14:29 ` [gentoo-user] " Nikos Chantziaras
2012-07-23 15:31 ` Simon
2012-07-23 16:24 ` Jarry
2012-07-23 20:01 ` Nikos Chantziaras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMix8LH5uVtwSsrU9wbN1tM2UxySMF5DSzaEdd9M3mDzOmCz8A@mail.gmail.com \
--to=jesus.guerrero.botella@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox