Date: Mon, 17 Feb 2003 15:03:46 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: phk@phk.freebsd.dk Cc: Maxim Sobolev <sobomax@freebsd.org>, current@freebsd.org Subject: Re: disklabel is broken (GEOM related) Message-ID: <xzpd6lr57i5.fsf@flood.ping.uio.no> In-Reply-To: <75380.1045490431@critter.freebsd.dk> (phk@phk.freebsd.dk's message of "Mon, 17 Feb 2003 15:00:31 %2B0100") References: <75380.1045490431@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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/zero >/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpd6lr57i5.fsf>