Bug 242243 - autofs: the special_media map cannot output extfat filesystems labels
Summary: autofs: the special_media map cannot output extfat filesystems labels
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.3-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2019-11-26 04:51 UTC by Victor Sudakov
Modified: 2019-12-22 03:37 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Victor Sudakov 2019-11-26 04:51:30 UTC
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.
Comment 1 Victor Sudakov 2019-11-26 04:52:18 UTC
Related PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242225
Comment 2 Conrad Meyer freebsd_committer 2019-12-22 03:37:15 UTC
Maybe obviated by r355996 (resolving pr 242225).
Comment 3 Conrad Meyer freebsd_committer 2019-12-22 03:37:34 UTC
(In reply to Conrad Meyer from comment #2)
(Only in CURRENT.)