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

Rainer Duffner rainer at ultra-secure.de
Sun Jun 7 17:45:57 UTC 2009


Am 07.06.2009 um 19:27 schrieb Niki Kovacs:

> Kevin Krieser a écrit :
>
>>
>> I've done the zeroing out thing on mounted filesystems before when I
>> wanted to move the contents of a drive to another.  zeroing out  
>> before
>> would be best if you planned to do an install, then back it up for
>> later.  Otherwise, you end up with a lot of unused space that has
>> remnants of old data scattered around.
>
> Yeah, but I'm a bit confused here. How would you go about it from a  
> LiveCD ?



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).
Of course, dd on the device wipes everything, so you do it before  
installing OS+applications.



Rainer


More information about the CentOS mailing list