On Fri, Jan 16, 2004 at 09:33:31AM -0800, Stuart Sheldon wrote:
> True, but we like to specify the number of blocks:
> 
> dd if=/dev/zero of=/dev/hda count=50000 bs=512
> 
> This only takes about 5 secs to run and clears the MBR as well as wipes 
> enough off the front of the platter to let us create a clean MBR and 
> partition table.

Oh, but your partitioner should simply be able to ignore the existing table,
no? :-)

If you want a really ugly workaround, you can of course use

  cut -c 1-512 /dev/zero | head -50000 > /dev/hda

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to