Article View: muc.lists.freebsd.bugs
Article #27[Bug 299241] inotify watches make unmount(2) fail with EBUSY
From: bugzilla-noreply
Date: Fri, 09 Oct 2026 02:51
Date: Fri, 09 Oct 2026 02:51
41 lines
3143 bytes
3143 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299241
Bug ID: 299241
Summary: inotify watches make unmount(2) fail with EBUSY
Product: Base System
Version: 15.1-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: sam@sheridan.co.uk
Attachment #275512 text/plain
mime type:
Created attachment 275512
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=275512&action=edit
inotify test: watches a directory and prints events
On 15.1-RELEASE-p4, an inotify watch on any directory of a file system
makes umount fail with EBUSY until the watcher exits. In practice, Thunar
showing a USB stick stops it from being ejected.
Reproduce with the attached inw.c:
mount -t tmpfs tmpfs /mnt; mkdir /mnt/sub
./inw /mnt/sub &
umount /mnt # Device busy
See Also: 299239
--
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-299241-227@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-mailShow 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 299241] inotify watches make unmount(2) fail with EBUSY Date: Fri, 09 Oct 2026 02:51:09 +0000 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-bugs@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <bug-299241-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="94390"; 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=1791514270; 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; bh=LMHfMJoioBPv5L6us5tIG3xId5LRJJl/TYIXXaUdNYM=; b=Kw/Dygu2ZrC62hF12M2tYaFP0eca2oBaEUhevVyXbb+yd4XrR/5koX2gRP0Rdvxe6K4tVw QnmX0PxBNRspJv0is3hBb20TJXJP98AqGYy3zEASDzSGP7QaSlGIjL/4pQII/lBRykla2E +AKzi+spq3/d5JsOxk5r5MVwZ11XCNCg0vQFXKIeDTzGOL839ULxQ4nPZprKVvHM8vN2Nm IX6tHceABRoPxWNWzPlvdsvYUmYdqg/m1JwkOkBZky0v+wu4+wNTiubdpDCv5c8hmAe3ZE 0KmlP2rrmbRGDyvGKyAj3wZQ+2CN3OZB7sb5UxltpG3kAo5K2bH6RAc8xqF7pw== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes