Simon Windows wrote:
Jim Meyering wrote:
I haven't looked at it at all yet,
but wonder if you've considered using inotify?
That seems like that mechanism would be much more appropriate,
when tailing many files in an arbitrary hierarchy.
I have looked at the inotify library as you suggested. I agree it would
be a useful tool to use in tail as it removes the need to poll files and
would make a recursive version much more efficient. I can also see there
has been some discussion of using inotify in coreutils for this purpose.
I think that issue is orthogonal to the recursive option I am proposing.
To point out the obvious... 'tail' works on most POSIX systems (and
perhaps some that aren't). inotify works on... Linux. So an enhancement
to tail might benefit users of AIX, Irix, OSF, etc. that don't have
inotify, whereas iwatch is useless on such systems.
--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
Person A: It's an ISO standard.
Person B: ...And that means what?
-- mal (http://theangryadmin.blogspot.com/2008/04/future.html)
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils