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.ja...@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. > > >