[Top][All Lists]
[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.
- tail -f: --pid *and* inotify,
Jim Meyering <=
- Re: tail -f: --pid *and* inotify, Giuseppe Scrivano, 2009/07/26
- Re: tail -f: --pid *and* inotify, Jim Meyering, 2009/07/27
- Re: tail -f: --pid *and* inotify, Giuseppe Scrivano, 2009/07/27
- Re: tail -f: --pid *and* inotify, Jim Meyering, 2009/07/28
- Re: tail -f: --pid *and* inotify, Pádraig Brady, 2009/07/30
- Re: tail -f: --pid *and* inotify, Jim Meyering, 2009/07/30
- Message not available
- Re: tail -f: --pid *and* inotify, Jim Meyering, 2009/07/31