[EMAIL PROTECTED] wrote:
>[EMAIL PROTECTED] wrote:
>
>> Now, if it would be a question of backig up the entire partition, it would
>> be simple with dd, but in Win boxes usually one partition covers the
>> entire disk. But if only 200MB of a 20GB partition is used there is no
>> idea in backing up all the empty space.
>
>How about compression? Isn't the empty space zeroed?
You can't rely on that, but you can do it yourself. From one of my scripts:
# fill the free space on the second partition with zeros
mount -t vfat /dev/hda2 /mnt/local
zero_blocks=`df /mnt/local | tail -n 1 | awk '{print $4}'`
dd if=/dev/zero of=/mnt/local/zero bs=1024 count=${zero_blocks} 2>/dev/null
rm -f /mnt/local/zero
umount /mnt/local
Other tools you might want to look at are:
Partition Image http://www.partimage.org
Make CD-ROM Recovery http://sourceforge.net/projects/mkcdrec
Ron