[CentOS] Question about dd (fill a hard disks' unused space with blanks)

Sun Jun 7 18:52:28 UTC 2009
Kevin Krieser <k_krieser at sbcglobal.net>

On Jun 7, 2009, at 12:54 PM, Niki Kovacs wrote:

> Rainer Duffner a écrit :
>>
>> Ever booted a live-CD?
>> It also knows your disks (unless it's a server, except for maybe the
>> CentOS LiveCD, most other's suck on servers - they simply don't
>> recognize the controllers).
>
> The question was not about the LiveCD, but more about the use of dd.  
> So,
> blanking a disk (say, /dev/hdc) from a LiveCD would amount to:
>
> # dd if=/dev/zero of=/dev/hdc bs=20M
>
> And that's it. Correct?

Yes.  I generally don't use a 20M block size, but it is what I've used.