From owner-freebsd-current Mon Feb 17 6: 3:50 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72B2037B401; Mon, 17 Feb 2003 06:03:49 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBBD643F75; Mon, 17 Feb 2003 06:03:48 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 2022253B5; Mon, 17 Feb 2003 15:03:46 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: phk@phk.freebsd.dk Cc: Maxim Sobolev , current@freebsd.org Subject: Re: disklabel is broken (GEOM related) From: Dag-Erling Smorgrav Date: Mon, 17 Feb 2003 15:03:46 +0100 In-Reply-To: <75380.1045490431@critter.freebsd.dk> (phk@phk.freebsd.dk's message of "Mon, 17 Feb 2003 15:00:31 +0100") Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386--freebsd) References: <75380.1045490431@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG phk@phk.freebsd.dk writes: > In message <20030217133559.GA34599@vega.vega.com>, Maxim Sobolev writes: > > It seems that disklabel is currently broken on -current. In `read' mode it > > reports incorrect information about disk layout: > Don't use the "-r" option and you will be ok. Then how are we supposed to initialize devices which don't already have a label? root@des /home/des# dd count=16 /dev/da0 16+0 records in 16+0 records out 8192 bytes transferred in 0.177704 secs (46099 bytes/sec) root@des /home/des# disklabel -e da0 disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device root@des /home/des# disklabel -w da0 auto disklabel: Inappropriate ioctl for device root@des /home/des# disklabel -rw da0 auto DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message