Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2022 09:22:08 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Wojciech Puchar <wojtek@puchar.net>
Cc:        Eugene Grosbein <eugen@grosbein.net>, George Mitchell <george+freebsd@m5p.com>, FreeBSD Hackers <freebsd-hackers@FreeBSD.org>
Subject:   Re: Which disk is which?
Message-ID:  <202201260922.20Q9M8dg083749@critter.freebsd.dk>
In-Reply-To: <ed77ddbe-9f6-1587-747-792f8ad8ae5f@puchar.net>
References:  <5d4569a7-3198-761e-9fd0-c53567ecb3ea@m5p.com> <20220126032030.GA80544@rdtc.ru> <202201260901.20Q913h6079761@critter.freebsd.dk> <ed77ddbe-9f6-1587-747-792f8ad8ae5f@puchar.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
Wojciech Puchar writes:

> > Strictly speaking the correct command to use is "glabel status" (or "g=
label list").
> >
> There are no "correct" ways in unix. There are just different ways

In this case glabel /is/ the correct way, because ZFS might be
attached to labels not related to the physical disk, for instance
GPT labels or UUIDs.

-- =

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    =

Never attribute to malice what can adequately be explained by incompetence=
.



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