From owner-freebsd-current@FreeBSD.ORG Sat Aug 22 15:22:44 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D48C106568E for ; Sat, 22 Aug 2009 15:22:44 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id 9ACA18FC19 for ; Sat, 22 Aug 2009 15:22:43 +0000 (UTC) Received: (qmail 10297 invoked by uid 89); 22 Aug 2009 15:22:41 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 22 Aug 2009 15:22:41 -0000 Date: Sat, 22 Aug 2009 17:22:50 +0200 From: Oliver Lehmann To: "Andrey V. Elsukov" Message-Id: <20090822172250.3eaa80fe.lehmann@ans-netz.de> In-Reply-To: <4A900234.1030202@yandex.ru> References: <20090822114802.df02b57d.lehmann@ans-netz.de> <20090822120809.b749c7e8.lehmann@ans-netz.de> <4A900234.1030202@yandex.ru> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.5; amd64-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 22 Aug 2009 17:42:40 +0000 Cc: freebsd-current@freebsd.org, marcel@freebsd.org Subject: Re: no /sbin/gpt on 8.0-BETA2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2009 15:22:44 -0000 Andrey V. Elsukov wrote: > Oliver Lehmann wrote: > > # gpart create -s GPT /dev/da2 > > da2 created > > # gpart add -t freebsd-ufs /dev/da2 > > Segmentation fault (core dumped) > > # gpart add -t freebsd-ufs da2 > > da2p1 added > > > > This should not happen - right? > > It fixed in BETA3. > http://www.freebsd.org/cgi/query-pr.cgi?pr=137656 > > But, i think gpart will report about nonexistent geom when you > will try to use "/dev/da2" sintax. Are you sure it is the same error? Why is it working with a full path when working with a gmirror object? # gpart add -b 1572864 -s 262144 -t freebsd-swap -i 2 /dev/mirror/gm0s1 mirror/gm0s1b added Why isn't it segfaulting here? I already opend a PR... http://www.freebsd.org/cgi/query-pr.cgi?pr=138065 -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/