On Fri, 2005-06-17 at 19:45 +0100, Christoph Hellwig wrote:
> inotify does indeed use file->private data to retrieve the inotify_dev
> structure. Of which by design exists a single instance only. So yes,
> you do not use the file descriptor at all.
Sorry, I am not following how we "do not use the file descriptor at
all". It is given to the ioctl and, as you said, used to find the
inotify_dev. The file descriptor maps to the device, and vice versa.
You _can_ have multiple open devices per process.
> And a default limit matters exactly how?
Because we want people to actually use inotify, to make the desktop
better, and in the real world "become root and bump the fd limit" is not
always feasible. The fd limit might be low for other reasons.
> Thanks a lot, I'm enjoying life a lot when I don't happen to have to deal
> with ignorant people :)
Just because we disagree does not make either of us ignorant. Indeed,
even if one of us were wrong, we need not be ignorant--wrong word.
Neither of us is untaught on or unacquainted with the kernel. We are
just viewing things differently.
Robert Love
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]