yellowdog-general digest, Vol 1 #484 - 6 msgs

Stephen Lewis yellowdog-general@lists.terrasoftsolutions.com
Sat Oct 26 16:51:01 2002


> Message: 1
> Date: Fri, 25 Oct 2002 20:37:19 +0200
> From: Albrecht =?iso-8859-1?Q?Dre=DF?= <albrecht.dress@arcor.de>
> To: Stephen Lewis <lewis@napanet.net>
> Cc: yellowdog-general@lists.terrasoftsolutions.com
> Subject: Re: difference between mount point and physical drive?
> Reply-To: yellowdog-general@lists.terrasoftsolutions.com
> 
...
> 
> It's sometimes nice to burn complete partitions compressed on a
> cd/dvd. To=
> =20
> avoid that you have random data on the unused space, you can use
> e.g.
> 
> dd if=3D/dev/zero of=3Dzerofile bs=3D1M count=3D1
> 
> (replace the "1M" with the free space on the disk), erase zerofile,
> unmount=
> =20
> the partition, and say
> 
> dd if=3D/dev/sda1 | gzip -9 > pratition.gz
...
> 
> Cheers,
> 
>         Albrecht.
> 

Clever idea - I have used 'dd' like this to
permanently erase deleted files but not seen before
for backup and/or distribution disks,
makeing the "1M" a bit less than the free space will
avoid any chance of running out and still
get good compression,

Stephen Lewis