difference between mount point and physical drive?

Albrecht Dreß yellowdog-general@lists.terrasoftsolutions.com
Fri Oct 25 12:38:01 2002


Am 25.10.02 19:45:05 schrieb(en) Stephen Lewis:
> Sometimes it is faster than reading the
> filesystem, but because it copies empty
> blocks also it might be slower too. If your

It's sometimes nice to burn complete partitions compressed on a cd/dvd. To 
avoid that you have random data on the unused space, you can use e.g.

dd if=/dev/zero of=zerofile bs=1M count=1

(replace the "1M" with the free space on the disk), erase zerofile, unmount 
the partition, and say

dd if=/dev/sda1 | gzip -9 > pratition.gz

or even

dd if=/dev/sda | gzip -9 > pratition.gz

This is not fast, but nice if you want to make a "master copy" for 
installing several machines with identical disks. The second variant 
includes even the partition map, but may actually need a dvd...

Cheers,

	Albrecht.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
        Phone (+49) 228 6199571  -  mailto:albrecht.dress@arcor.de
_________________________________________________________________________