Created attachment 224243 [details] Patches allows to pass "automounted" option into kernel /usr/local/sbin/mount.exfat-fuse doesn't pass options given by -o command line argument into fuse_main. So "automounted" option from automountd(8) will never be received by kernel and autounmountd(8) doesn't recognize this FS as automounted. Path in attachment solves this problem.
^Triage: [tags] in issue Titles are deprecated Upstream [1] appears recently active. This should be produced as a pull request upstream. We'd appreciate if you could do that Iouri. Maintainer may consider a local ports patch until upstream resolves. [1] https://github.com/relan/exfat
Ok, it's pull request: https://github.com/relan/exfat/pull/170
Created attachment 224279 [details] Patches allows to pass "automounted" option into kernel More complex patches using code from master branch at https://github.com/relan/exfat and patch from the pull request
Also, bug 241474: > autofs fails to unmount exFAT filesystems automatically
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d30a15797673e67199fe8a3fcbf437c5235237a9 commit d30a15797673e67199fe8a3fcbf437c5235237a9 Author: Oleksii Samorukov <samm@FreeBSD.org> AuthorDate: 2021-11-24 20:53:27 +0000 Commit: Oleksii Samorukov <samm@FreeBSD.org> CommitDate: 2021-11-24 20:56:11 +0000 sysutils/fusefs-exfat: Pass "automounted" option into kernel and remove user option Based on upstream patches from the project repository PR: 255213 Reported by: fbsd@any.com.ru sysutils/fusefs-exfat/Makefile | 1 + .../fusefs-exfat/files/patch-fuse_main.c (new) | 25 +++++++++++++ .../files/patch-libexfat_exfat.h (new) | 10 ++++++ .../files/patch-libexfat_mount.c (new) | 42 ++++++++++++++++++++++ .../files/patch-libexfat_utils.c (new) | 18 ++++++++++ 5 files changed, 96 insertions(+)