lkml.org 
[lkml]   [2004]   [May]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 15 May 2004 12:52:08 +0800 (WST)
From raven@themaw ...
SubjectRe: [RFC/PATCH] inotify -- a dnotify replacement
On Sun, 9 May 2004, John McCutchan wrote:

> Hi,
> 
> I have been working on inotify a dnotify replacement. 

Help me here a little John I'm a little slow on the uptake.

> 
> inotify is a char device that has two ioctls: INOTIFY_WATCH and
> INOTIFY_IGNORE Which expect an inode number and an inode device number.
> I know that on some file systems the inode number and inode device
> number are not guaranteed to be unique. This driver is only meant for
> file systems that have unique inode numbers. 
> 
> The two biggest complaints people have about dnotify are
> 
> 1) dnotify delivers events using signals. 
> 
> 2) dnotify needs a file to be kept open on the device, causing problems
> during unmount. 

So we are saying we open the device file to do our stuff instead of 
keeping a file open?

In kernel functionality could be provided by calling appropriately exported 
routines?

This implementation caters read/write notifications only at this stage?

Ian


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

\
 
 \ /
  Last update: 2005-03-22 13:03    [from the cache]
©2003-2008