no /sbin/gpt on 8.0-BETA2
Oliver Lehmann
lehmann at ans-netz.de
Sat Aug 22 15:22:44 UTC 2009
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/
More information about the freebsd-current
mailing list