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, 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?
Pipes are not really files, they dont buffer. And "tail -f" polls the end
of the file, which isnt very effective IMHO. Or should we use AF_UNIX
sockets?

-- mingo


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