NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/60208: 'gpt add' should error if the specified label already exists



Robert Elz via gnats <gnats-admin%NetBSD.org@localhost> wrote:

>  No, but nor is it doing that, the label you request is being set
>  on the partition in the partition table, just use "gpt show -l" (or -a)
>  to see it.

>  gpt doesn't create wedges at all, it labels disk like devices.
>  
>  dkctl creates wedges in the kernel.   As Michael said in his reply,
>  if a wedge has a duplicate label, the GUID is used instead (by the
>  kernel) - the label still exists in the GPT table, it just isn't
>  used by the kernel.

Ah, ok, I see.

Still find it confusing, I agree that gpt(8) does what
is says it would, and I can't think of a good way of
resolving the scenario I described.

I'll close this bug.

Thanks,
-Jan



Home | Main Index | Thread Index | Old Index