[Bug 278480] Standardize GPT label names

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 20 Apr 2024 11:54:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278480

            Bug ID: 278480
           Summary: Standardize GPT label names
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: jlduran@gmail.com

Inspired by poudriere's pull request:

https://github.com/freebsd/poudriere/pull/1143

I submitted https://github.com/freebsd/freebsd-src/pull/1187 to keep things
similar.

It is a little annoying that depending on the image created the final GPT label
for the EFI partition has a different name.

Thus, if you want to add an entry in /etc/fstab using this label, you'll end up
having different configurations. For example:

bsdinstall (zfsboot):
/dev/gpt/efiboot0       /boot/efi               msdosfs rw              2 2

vmimage:
/dev/gpt/efiesp         /boot/efi               msdosfs rw              2 2

nanobsd/poudriere firmware:
/dev/gpt/efiboot        /boot/efi               msdosfs rw              2 2


I personally prefer "efiboot$index", but any name will do, as long as they are
all the same.

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