[CentOS] Question about dd (fill a hard disks' unused space with blanks)
Rainer Duffner
rainer at ultra-secure.de
Sun Jun 7 18:00:16 UTC 2009
Am 07.06.2009 um 19:54 schrieb Niki Kovacs:
> 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?
Yup.
If you have the time, you can experiment with the blocksize and see
where the throughput is best.
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-09/msg01375.html
Rainer
More information about the CentOS
mailing list