Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 1998 17:23:37 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: it works!!
Message-ID:  <13838.44018.700872.677229@grasshopper.cs.duke.edu>
In-Reply-To: <199809260624.AAA09773@panzer.plutotech.com>
References:  <199809260624.AAA09773@panzer.plutotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Kenneth D. Merry writes:
 > - Booted DEC Unix, and attempted to partition the thing.  Silly me.  No
 >   matter what I tried, their disklabel(8) didn't want to disklabel the
 >   damned disk.  It didn't work even when I did something like this:
 > 
 > 	dd if=/dev/zero of=/dev/rrz20c bs=64k count=10

If anybody else needs to label a disk using DU, remember that their
equiv of "auto" is a second identical device number.  So you'd do
something like this to put an initial label onto a disk at rz20:

	disklabel -wr rz20 rz20

The only time this will get you is when there's an entry in
/etc/disktab which corresponds to the device you're labeling (the
second device is supposed to be the disktab entry name; they really
should use "auto").  You can just temporarily move /etc/distab out of
the way in that case.

Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message



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