lkml.org 
[lkml]   [1996]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Named pipes - slightly broken in new kernels
On Thu, 28 Mar 1996, Ingo Molnar wrote:

> On Thu, 28 Mar 1996, Ronald Wahl wrote:
>
> > I do the following: syslog writes in a file and a tail -f reads from this
> > file and write the contents to the pipe. This works very well.
>
> btw, is there a way on Linux to have a blocking read at the end of file?

IMHO tail -f do this - look at the sources.

> Pipes are not really files, they dont buffer. And "tail -f" polls the end
> of the file, which isnt very effective IMHO.

My processor is idle also with a running tail -f.

ron

--
\ Ronald Wahl --- rwa@informatik.tu-chemnitz.de \
\ WWW: http://www.tu-chemnitz.de/~row \
\ Talk: rwa@goliath.csn.tu-chemnitz.de \
\ PGP key available by finger to my email address \



\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.075 / U:0.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site