I've just noticed that GPT partition labels are not being exposed under /dev on my FreeBSD router system. When I built the system, I gave my ESP a GPT label of "esp" and the label was accessible as /dev/gpt/esp, and I added a line to /etc/fstab that use that label to mount the ESP:
My GPT labels are set as follows:
Can anyone suggest a reason why the partition labels and and UUIDs have stopped working?
Code:
/dev/gpt/esp /boot/efi msdosfs rw,noauto 0 0
# mount /boot/efi
just failed for me, so I investigated the cause and found that a /dev/gpt directory doesn't exist, and neither does /dev/gptid.My GPT labels are set as follows:
Code:
[root@router ~]# gpart show -l
=> 40 234441568 diskid/DISK-50026B778374B4BE GPT (112G)
40 2008 - free - (1.0M)
2048 262144 1 esp (128M)
264192 8388608 2 swap (4.0G)
8652800 225788808 3 (null) (108G)
Can anyone suggest a reason why the partition labels and and UUIDs have stopped working?