🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #32

[Bug 299239] inotify_add_watch(2) fails with EBADF on fusefs subdirectories

#32
From: bugzilla-noreply
Date: Fri, 09 Oct 2026 14:30
29 lines
3265 bytes
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.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-299239-227-ZVx0yO4GBr@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-299239-227@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 299239] inotify_add_watch(2) fails with EBADF on fusefs
 subdirectories
Date: Fri, 09 Oct 2026 14:30:48 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-bugs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-299239-227-ZVx0yO4GBr@https.bugs.freebsd.org/bugzilla/>
References: <bug-299239-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="33886"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1791556248;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=KArHd31E0hg50UWX7qBm/25X9ltm6Oq6pa+5OIehnKw=;
	b=jBtXsTWj5rTJCz8PhTXS2TcV60zAScdVQ1hzz5RlqXDExHJF2xsd2+Qd7vAUb71Q9RZLN+
	cRW3p4nOG2cP65lZExptz1FqutvydDgmJ9jnbXb4c3oCiSqlRFrth2y8fQd2BM11+gRUZ5
	Hk+LT596aQUBo2r69pKqn9kWDmnmubixWZ8hUuIBg5HJmbVumSZViqaj4XtAM5opbLdzlu
	3SpVhxx9NtEtZ0PtvGVih4inmqL6bOT+gSgdY8bgiScmHXNqxzuJ78CPgo51kXOzVG0in0
	9dd3U1ctlryFqZQO0LLEjwE4JwBaicVcLRgEa9XWrAKFTxiKHto574JXHKriaw==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-299239-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes