bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tail -f: --pid *and* inotify


From: Jim Meyering
Subject: tail -f: --pid *and* inotify
Date: Sun, 26 Jul 2009 10:55:20 +0200

Hi Giuseppe,

I've realized that there is a good way to remove the ugly exclusion
that currently disables inotify-based tail -f when --pid is specified.
Instead of the existing while-1-loop around code that reads the inotify
FD, we can use a loop that polls that single FD with a 1-2-second timeout.
Then, it can periodically run the usual PID-alive check.
Are you interested in doing that?

Between this, the ls -1U bug, and the btrfs O(1) copy,
I'm now expecting to defer the release by at least a week.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]