krb5-auth-dialog watches /tmp/krbcc_500 or whatever that file is called, using gio, which puts a inotify watch on the directory vte creates files backing its scrollback in /tmp and unlinks them right away but there's a ton of activity on those files while I do some git --filter-branch things and I see krb5-auth-dialog eat 10% cpu, handling inotify events for those unlinked vte files should those unlinked files continue to create inotify traffic ? I mean, unlinking explicitly unties them from the watched directory, no ?
http://lkml.org/lkml/2010/7/13/360
I'm going to force programs to use a new flag to ignore unlinked files. I have no idea if some obscure program would break if I did it by default.....
Shouldn't this be closed as fixed, since the http://www.kernel.org/doc/man-pages/online/pages/man7/inotify.7.html has "IN_EXCL_UNLINK (since Linux 2.6.36)"?