Re: Question about dd (fill a hard disks' unused space with blanks)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux