On Sun, Sep 21, 2008 at 06:02:37AM +0100, Sunnz wrote:
> OK I am trying to completely erase the data of a hard disk so I though
> I can just do `dd if=/dev/arandom of=/dev/rwd0c` as to my
> understanding that is the entire hard disk (slice c) of wd0 in 'raw'
> mode?
> 
> But that dd refuse to do it.
security(7):
"Once you have set the security level to 1, write access to raw 
devices will be denied"
> 
> So now I am doing the same thing but to wd0c instead. Is this any
> worse? This is the "character device" right? Does that mean dd won't
> write random bits as low as going to the raw device?
> 
> This is running off a OpenBSD 4.3 CD, there are no intention to
> actually destroy the hard disk in any way, just erasing the data off
> the hard disk so that it can be reused, re-sold, whatever. The data
> are not some military top secret, but it is interesting to know of
> what can be done in a home/small office environment when it comes to
> erasing the hard drive.
> 
> Thanks.
> 
> -- 
> This e-mail may be confidential. You may not copy, forward,
> distribute, or, use any part of it. Note, like all disclaimers on the
> net, there are no effective legal binding on your part and disclaimers
> can be ignored. For more information about disclaimers, please see:
> http://www.goldmark.org/jeff/stupid-disclaimers/

Reply via email to