Re: VFS event hooks

Andi Kleen (ak-uu@muc.de)
26 Jun 1999 20:51:03 +0200


torvalds@transmeta.com (Linus Torvalds) writes:

> On Sat, 26 Jun 1999, Dale Amon wrote:
> >
> > That would mean that your file browser would instantly change
> > to show a file deletion, even if the deletion was done by a
> > different user on command line login.
>
> Note that the poll() approach would simply mean that the file browser
> would have each directory that it displays open - and running poll on
> them. Whenever poll indicates that the directory changed, it re-reads the
> directory and updates as necessary.

This means that if it displays a CD-ROM or a automount directory it cannot be
umounted, which would be annoying.

Hmm, a O_WEAK flag needed? This could be hard to fit into the existing
reference-count based VFS though.

Another alternative would a layer like supermount that allows umount with
active descriptors, but this would be a rather radical change from the
sysadmin level (more radical than the IRIX solution, which uses a daemon
and some kernel hack)

-Andi

-- 
This is like TV. I don't like TV.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/