inotify-aware tail replacement

Jesse Barnes jbarnes at virtuousgeek.org
Thu Dec 6 21:41:24 UTC 2007


On Thursday, December 06, 2007 1:38 pm Bill Nottingham wrote:
> Colin Walters (walters at redhat.com) said:
> > On Thu, 2007-12-06 at 21:49 +0100, Karel Zak wrote:
> > >  coreutils = portability; inotify = linux (>= 2.6.13)
> >
> > We have SELinux support in coreutils, I don't really see why an inotify
> > patch would be a problem.
> >
> > Having a separate program just because there's a different
> > implementation detail is silly.
>
> Is there any reason the user should *care* about the implementation
> of tail -f?

Well, the manpage says -f is affected by the sleep argument, so it's 
conceivable that there are scripts depending on that behavior...

-w (for watch) may be a good name for a new flag.

Jesse




More information about the fedora-devel-list mailing list