Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2026 14:08:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 113912] tunefs(8): silent failure setting glabel on boot partition
Message-ID:  <bug-113912-227-YwC1vGtWEM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-113912-227@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=113912

--- Comment #5 from rkoberman@gmail.com ---
Wow! I had to spend some time remembering this.

I think that this stems from confusion between the three types of labels that
are related to disks and disk partitions.

tunefs(8) sets the gpt label which is not the glabel. The GPT label is created
when a partition is created by gpart(8). I have never had any issue using
tunefs(8) -L option to modify it. The glabel is a GEOM tool and not related to
GPT.

While I am sure that there are other uses for glabel (set and modified by the
glabel(8) command), I have only used it for labeling swap partitions. GPT
labels are specified in the specification for GPT and is used by almost all
disk configuration while glabel is part of the FreeBSD GEOM system and us only
relevant to that system which, as far as I understand it, limited to BSD and
not Linux, Windows, or any other system. I am not use if all BSDs use it.

THe fact that GPT and GEOM both start with 'G' and are tied to disc structure
has caused a lot of confusion, but I thought it had quieted down.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-113912-227-YwC1vGtWEM>