LWN: Comments on "Watching filesystem events with inotify"
http://lwn.net/Articles/104343/
This is a special feed containing comments posted
to the individual LWN article titled "Watching filesystem events with inotify".
hourly2Tutorial with code examples
http://lwn.net/Articles/168868/rss
2006-01-23T19:50:31+00:00dmarti
Robert Love's tutorial <a href="http://www.linuxjournal.com/article/8478">Intro to inotify</a> has good code examples (using a 2.6.13 kernel).
Watching filesystem events with inotify
http://lwn.net/Articles/160673/rss
2005-11-18T13:03:04+00:00Drevic
INOTIFY on SUSE 10.0 Linux<br>
<p>
Starting from kernel 2.6.13, inotify is part of the kernel.<br>
/dev/inotify IS NOT AVAILABLE anymore - instead of it, there are system calls<br>
<p>
inotify_init<br>
inotify_add_watch<br>
inotify_rm_watch<br>
<p>
Please see my web page to find out more details:<br>
<a rel="nofollow" href="http://www.drevic.wz.cz/index.html">http://www.drevic.wz.cz/index.html</a><br>
Watching filesystem events with inotify
http://lwn.net/Articles/149499/rss
2005-08-29T09:14:33+00:00gravious
erm, check out rlocate :)<br>
i use it on gentoo, and it just works (tm)<br>
Watching filesystem events with inotify
http://lwn.net/Articles/140794/rss
2005-06-21T18:02:22+00:00stevef
file/directory change notification would be particularly useful on network files (remote files accessed through network filesystems such as nfs or cifs, or cluster filesystems). The current D_NOTIFY fcntl can be intercepted by a filesystem. <br>
<p>
Can filesystems intercept inotify?<br>
why not a syscall
http://lwn.net/Articles/113863/rss
2004-12-02T14:43:03+00:00fursten
My first reaction was "Why not add pioctl and use that?". For those who don't know pioctl: it's a syscall used by AFS and a couple of other remote fs implmementations. It's essentially ioctl on paths instead of file descriptors. This means that you get rid of the dnotify problems with the need of having the watched file open.<br>
<p>
I have on the other hand not studied this in any depth...<br>
Another pseudodevice
http://lwn.net/Articles/105701/rss
2004-10-07T23:36:56+00:00nobrowser
Why? Why not netlink?<br>
<p>
why not a syscall
http://lwn.net/Articles/105661/rss
2004-10-07T20:10:10+00:00huaz
Seems a syscall is more appropriate than a special device interface.<br>
Watching filesystem events with inotify
http://lwn.net/Articles/104803/rss
2004-10-02T09:34:08+00:00miallen
Here, here. Slocate is an abomination. Something about my laptop that causes the system to really freeze up. I turned it off long ago in favor of running it manually once in a while. It's really amazing such a crude technique has lasted this long. It will be a glorious day when slocate is replaced with something that has proper fs/kernel support.<br>
Watching filesystem events with inotify
http://lwn.net/Articles/104750/rss
2004-10-01T19:34:55+00:00joeshaw
You might be interested in <a href="http://gnome.org/projects/beagle">beagle</a>, which aims to index users' data and integrate it with the desktop. You can follow a lot of the development in the blogs at <a href="http://planetbeagle.org">Planet Beagle</a>.
Watching filesystem events with inotify
http://lwn.net/Articles/104620/rss
2004-09-30T20:10:43+00:00elanthis
ioctls are still frowned upon, yes. they just happen to have their uses.<br>
Watching filesystem events with inotify
http://lwn.net/Articles/104590/rss
2004-09-30T17:50:08+00:00bronson
Is there any chance of getting the locate command to use inotify? Incremental indexing would be sooo nice compared to brinnging my system to its knees at 2:00 every morning.<br>
<p>
Does anybody remember ON:Location? That was a pretty amazing piece of software... Of course, writing something like that nowadays would be quite a bit more involved than just patching out a few HFS hooks.<br>
Typo
http://lwn.net/Articles/104537/rss
2004-09-30T14:22:51+00:00corbet
Fixed, thanks.
<p>
Request: typo reports sent to lwn@lwn.net have a higher chance of being seen and acted upon quickly...
Typo
http://lwn.net/Articles/104531/rss
2004-09-30T14:20:50+00:00nhasan
<em>
IN_CREATE_FILE and IN_DELETE_FILE (creation and creation of files within a directory), IN_DELETE_FILE (when a monitored file is deleted),
</em>
<p>
Can you spot the problem?
Watching filesystem events with inotify
http://lwn.net/Articles/104521/rss
2004-09-30T14:18:02+00:00rjw
I wasn't really asking about this specific case. <br>
I was just wondering if this principle was still current... <br>
it seems like new ioctl() calls are coming thick and fast. <br>
Watching filesystem events with inotify
http://lwn.net/Articles/104520/rss
2004-09-30T13:27:43+00:00elanthis
The ioctl is simply easier to code and use, so it was used.<br>
<p>
The inotify developer is quite willing to switch to a write() based interface, if Linus/Andrew decide it's necessary.<br>
Watching filesystem events with inotify
http://lwn.net/Articles/104442/rss
2004-09-30T09:36:51+00:00rjw
I remember long ago reading ( I believe on these very pages) that ioctl() was considered a bit skanky, and really people should be making devices that just need read() & write().<br>
<p>
And if one of them has another meaning already, a separate control device should be created. <br>
<p>
That way echo & friends can be used to test/use all this functionality...<br>
<p>
What happened to this idea?<br>
No more timer
http://lwn.net/Articles/104435/rss
2004-09-30T08:54:49+00:00xav
Well, the only remaining bad design I saw (perhaps there are others) in inotify was the use of a fixed timer to dispatch events to listening tasks. RML has fixed that this week. Apparently some are still complaining about some quirks here and there, but that means they'll be ironed out soon.<br>