As it was suggested in D51549 here goes an attempt to implement the auto_unmount feature from within the kernel.
Corresponding libfuse changes are there: https://github.com/libfuse/libfuse/compare/master...arrowd:libfuse:kernel-bsd-auto-unmount
Differential D53086
fusefs: kernel-based implementation of auto_unmount Authored by arrowd on Oct 14 2025, 4:27 PM. Tags None Referenced Files
Details
As it was suggested in D51549 here goes an attempt to implement the auto_unmount feature from within the kernel. Corresponding libfuse changes are there: https://github.com/libfuse/libfuse/compare/master...arrowd:libfuse:kernel-bsd-auto-unmount
Diff Detail
Event TimelineComment Actions
This implementation seems to work now
Comment Actions This seems to work now. The change turned out to be surprisingly small. @asomers Could you take a look? Comment Actions Wow! This looks much simpler than the original userspace-based implementation. I like it. I wrote some tests, too. I can commit those separately if you like, after you commit the main code. The only thing that's missing is a mention of the new option in mount_fusefs.8 . Could you please add that?
Comment Actions
Thank you for following up with tests! I trust you to push them. | ||||||||||||||||||||||||||||||||||||||||||||||