lkml.org 
[lkml]   [1999]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: VFS event hooks
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.276 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site