Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 1997 23:00:59 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        batie@aahz.jf.intel.com (Alan Batie)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: disk docs
Message-ID:  <19970312230059.GM42181@uriah.heep.sax.de>
In-Reply-To: <m0w4tIl-000hxmC@aahz.jf.intel.com>; from Alan Batie on Mar 12, 1997 11:03:03 -0800
References:  <m0w4tIl-000hxmC@aahz.jf.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Alan Batie wrote:

> I'm willing to do it if I can find the information needed.  Currently, I've
> tried "disklabel -r -w sd0 auto", and it complains
> "write: Read-only file system".

Wipe out old junk from the disk before.  The slice code is fairly
conservative in an attempt to protect those disk regions that are
owned by non-BSD systems against clobbering.

	dd if=/dev/zero of=/dev/rsd0 count=100
	disklabel -Brw sd0 auto

should always succeed.  Don't mess with fdisk in this case, it's not
needed.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970312230059.GM42181>