Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2023 21:43:28 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Kevin Oberman <rkoberman@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Where did the nvd devices go?
Message-ID:  <CANCZdfqTo=mCH7Yb9GhT=E8009GWmEbUrvoZanU=SE5HpxL9Hg@mail.gmail.com>
In-Reply-To: <CAN6yY1tgZ7d_Cxt2GKEr7rn8tsOq2PHU_sZU=iOOc=gQS5eAcg@mail.gmail.com>
References:  <CAN6yY1s-8T4yoafCy6sPTgqw6ndMYv7hj%2BHU-fcO2QhnhUCRWQ@mail.gmail.com> <CANCZdfr6BN6S5TKcCuifq-RSNpnRfaf-Zf_Y%2BMXwxF96N3CcJQ@mail.gmail.com> <CAN6yY1tgZ7d_Cxt2GKEr7rn8tsOq2PHU_sZU=iOOc=gQS5eAcg@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Wed, Jun 21, 2023 at 8:47 PM Kevin Oberman <rkoberman@gmail.com> wrote:

>
> Commands used were "gpart show nvd0" and "geli attach -d -k ************
> /dev/nvd0p7". Also tried both with and without the "/dev" which fail for
> nvd*  and succeed with nda*.
>

Ah. I see the problem. libgeom doesn't parse the <alias> nodes, nor does it
use them when searching for a geom by name...

I need to carefully think about how to fix it, though, since it may be an
ABI change and we're getting trickily close
to 14 to be mucking with this...

Warner

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 21, 2023 at 8:47 PM Kevin Oberman &lt;<a href="mailto:rkoberman@gmail.com">rkoberman@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_quote"><div style="font-family:tahoma,sans-serif;font-size:small">Commands used were &quot;gpart show nvd0&quot; and &quot;geli attach -d -k ************ /dev/nvd0p7&quot;. Also tried both with and without the &quot;/dev&quot; which fail for nvd*  and succeed with nda*.</div></div></div></blockquote><div><br></div><div>Ah. I see the problem. libgeom doesn&#39;t parse the &lt;alias&gt; nodes, nor does it use them when searching for a geom by name...</div><div><br></div><div>I need to carefully think about how to fix it, though, since it may be an ABI change and we&#39;re getting trickily close</div><div>to 14 to be mucking with this...<br></div><div><br></div><div>Warner <br></div></div></div>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqTo=mCH7Yb9GhT=E8009GWmEbUrvoZanU=SE5HpxL9Hg>