[Bug 299239] inotify_add_watch(2) fails with EBADF on fusefs subdirectories
Date: Fri, 09 Oct 2026 14:30:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299239
Mark Johnston <markj@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Open
CC| |markj@FreeBSD.org
Assignee|bugs@FreeBSD.org |markj@FreeBSD.org
--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Is there an easy way to create a exfat filesystem that I can use for testing?
I think this particular problem should be straightforward to fix (we can
implement VOP_INOTIFY_ADD_WATCH in fusefs and have it open the directory), but
there is the added problem that fusefs filesystems don't populate the name
cache, which inotify relies upon for certain file events, so I guess we will
need to fall back to a readdir in that case, same as in vop_stdvptocnp().
--
You are receiving this mail because:
You are the assignee for the bug.