Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Aug 2009 17:22:50 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        freebsd-current@freebsd.org, marcel@freebsd.org
Subject:   Re: no /sbin/gpt on 8.0-BETA2
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



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