[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: need command for zeroing drive
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: need command for zeroing drive
- From: Greg Thomas <getbsd_(_at_)_sbcglobal_(_dot_)_net>
- Date: Sat, 26 Apr 2003 13:42:42 -0700
On Saturday, Apr 26, 2003, at 03:45 US/Pacific, Thorsten Glaser wrote:
begin electrogrammati illius Dragos Ruiu
dd if=/dev/zero of=/dev/sd0c bs=512k
You are all SOOO wrong. OpenBSD does not have UBC yet, thus you must
use the raw device. You can only write to the raw device when it's not
mounted.
Use /dev/rsd0c instead.
So for a summary in JD's case of:
# dd if=/dev/zero of=/dev/sd1c bs=1048576
He was filling up / on sd0 because he was creating a new file /dev/sd1c.
If he had unmounted /dev/sd1c and done this he would have succeeded:
# dd if=/dev/zero of=/dev/rsd1c bs=1048576
Right?
Thanks, Greg
Visit your host, monkey.org