[Bug 248857] GPT-labeled slizes do not appear in /dev/gpt/

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 23 19:43:15 UTC 2020


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

            Bug ID: 248857
           Summary: GPT-labeled slizes do not appear in /dev/gpt/
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: jac at sjakio.com

I Installed a 12.1 p0 system on a USB drive on an EFI system using ufs file
system.
First installed without labels added the labels later. They appeared on gpart
list, not in /dev/gpt.

[jac at atomic03 ~]$ uname -a
FreeBSD atomic03 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64

[jac at atomic03 ~]$ gpart show da1
=>       40  125045344  da1  GPT  (60G)
         40     409600    1  efi  (200M)
     409640  119128064    2  freebsd-ufs  (57G)
  119537704    5507680    3  freebsd-swap  (2.6G)
[jac at atomic03 ~]$ sudo gpart list da1 | grep label
   label: efi
   label: root
   label: swap
[jac at atomic03 ~]$ ls -al /dev/gpt/
total 1
dr-xr-xr-x   2 root  wheel      512 Aug 23 10:56 .
dr-xr-xr-x  17 root  wheel      512 Aug 23 10:56 ..
crw-r-----   1 root  operator  0x99 Aug 23 10:56 efi
[jac at atomic03 ~]$ 


Then did a fresh install on an identical configuration. Added the labels in the
install configuration menu.
Same result: The labels appear on gpart list, not in /dev/gpt.
​
Then did a freebsd-update to 12.1 p8.
Same result: The labels appear on gpart list, not in /dev/gpt.

[jac at atomic04 ~]$ uname -a
FreeBSD atomic04 12.1-RELEASE-p8 FreeBSD 12.1-RELEASE-p8 GENERIC  amd64
[jac at atomic04 ~]$ sudo gpart show da1
=>       40  125045344  da1  GPT  (60G)
         40     409600    1  efi  (200M)
     409640  119128064    2  freebsd-ufs  (57G)
  119537704    5507680    3  freebsd-swap  (2.6G)

[jac at atomic04 ~]$ sudo gpart list | grep label
   label: efi0
   label: root0
   label: swap0

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


More information about the freebsd-bugs mailing list