Re: Clogged pipe?

From: Christian Weisgerber <naddy_at_mips.inka.de>
Date: Thu, 06 Apr 2023 19:04:35 UTC
Pete Wright:

> > What actually fixes the buffering problem on FreeBSD (it already works fine
> > on Linux) is to add the -u flag to the cat command.
> 
> Jan Schaumann had a great blog post on pipes buffer sizes a while back
> that may be interesting:
> https://www.netmeister.org/blog/ipcbufs.html

That is an entirely different issue.  Your problem was due to
buffering in libc's stdio implementation.  Again: See the DESCRIPTION
section of setbuf(3) for a terse summary.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de