Thread (65 messages) 65 messages, 9 authors, 2019-06-17

Re: [PATCH 3/7] vfs: Add a mount-notification facility

From: David Howells <dhowells@redhat.com>
Date: 2019-05-29 11:16:35
Also in: keyrings, linux-block, linux-fsdevel, linux-security-module, lkml

Jann Horn [off-list ref] wrote:
I don't really know. I guess it depends on how it's being used? If
someone decides to e.g. make a file browser that installs watches for
a bunch of mountpoints for some fancy sidebar showing the device
mounts on the system, or something like that, that probably shouldn't
inhibit unmounting... I don't know if that's a realistic use case.
In such a use case, I would envision the browser putting a watch on "/".  A
watch sees all events in the subtree rooted at that point and you must apply a
filter that filters them out if you're not interested (filter on
WATCH_INFO_IN_SUBTREE using info_filter and info_mask).

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help