Bug 242243 - autofs: the special_media map cannot output extfat filesystems labels
Summary: autofs: the special_media map cannot output extfat filesystems labels
Status: In Progress
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 (Nobody)
Depends on:
Reported: 2019-11-26 04:51 UTC by Victor Sudakov
Modified: 2021-02-02 21:16 UTC (History)
2 users (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.)
Comment 4 Victor Sudakov 2021-01-29 11:45:24 UTC
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.
Comment 5 Ed Maste freebsd_committer 2021-02-02 21:16:18 UTC
(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