Messages in this thread | | | Subject | Re: [PATCH] inotify 0.5 | From | John McCutchan <> | Date | Mon, 19 Jul 2004 17:31:30 -0400 |
| |
On Mon, 2004-07-19 at 09:33, Chris Friesen wrote: > Ian Kent wrote: > > > So the number of watches is restricted to the max number of file > > handles/process? > > Note: I have not read the code. We should probably do so before speculating. > > However, it looks like you have one fd, and reading from it gives you a data > structure of information about the event. The max number of watches could be as > high as INT_MAX depending on implementation.
Yes you are right. The maximum number of watchers is per-device. I have it defined as 256 now. Also the maximum number of devices that can be opened at a time is 8.
John - 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/
| |