Re: [PATCH] inotify 0.5
- From: Davide Libenzi <davidel xmailserver org>
- To: John McCutchan <ttb tentacle dhs org>
- Cc: nautilus-list gnome org, Linux Kernel Mailing List <linux-kernel vger kernel org>
- Subject: Re: [PATCH] inotify 0.5
- Date: Sun, 18 Jul 2004 16:37:28 -0700 (PDT)
On Sun, 18 Jul 2004, John McCutchan wrote:
> Inotify is a replacement for dnotify.
>
> The main difference between this and my earlier inotify design, is that
> device numbers and inode numbers are no longer used. The interface
> between user and kernel space uses a watcher descriptor.
>
> inotify is a char device with two ioctls
>
> WATCH
> which takes
>
> struct inotify_watch_request {
> char *dirname; // directory name
> unsigned long mask; // event mask
> };
>
> and returns a watcher descriptor (int)
Does such descriptor supports poll(2) (... f_op->poll())?
- Davide
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]