Re: no /sbin/gpt on 8.0-BETA2

From: Oliver Lehmann <lehmann_at_ans-netz.de>
Date: Sat, 22 Aug 2009 17:22:50 +0200
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/
Received on Sat Aug 22 2009 - 13:22:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC