The /etc/autofs/special_media map (part of autofs suite) cannot output the label of extfat filesystems because it uses /usr/sbin/fstyp for the purpose, and "fstyp -l" cannot display exfat filesystem labels. As /etc/autofs/special_media already depends on the sysutils/fusefs-exfat port for exfat support, I suggest changing the logic slightly and using exfatlabel for extracting the label from exfat volumes.
Related PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242225
Maybe obviated by r355996 (resolving pr 242225).
(In reply to Conrad Meyer from comment #2) (Only in CURRENT.)
This autofs thing is unusable for any practical purpose. Use sysutils/automount from ports for removable media, it works out of the box. This is probably the reason why noone is willing to fix autofs.
(In reply to Victor Sudakov from comment #4) It is untrue that autofs is unusable, and untrue that noone fixes issues in autofs. This issue should be fixed in 13.0 and 12.3 with the MFC of the change referenced in comment #2
^Triage: apparently committed back in 2019.
yes fstyp -l lists exFAT lables as of the commit referenced in PR242225, which is in all supported releases