1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/misc/buffer/pkg-descr
Satoshi Asami 06c822cc34 (I hope I caught this quickly enough....)
CVS replace buffer that was just imported with the backup from the Attic
cleanup.  This should look identical to what Steve committed, except
it has all the history resurrected.
1999-03-30 02:42:20 +00:00

11 lines
604 B
Plaintext

This is a program designed initially to speed up writing tapes on remote
tape drives, but may be used as a general pipe buffering utility.
Note: You must have SYSVSHM support in FreeBSD kernel.
The program splits itself into two processes. The first process reads
(and reblocks) from stdin into a shared memory buffer. The second
writes from the shared memory buffer to stdout. Doing it this way
means that the writing side effectly sits in a tight write loop and
doesn't have to wait for input. Similarly for the input side. It is
this waiting that slows down other reblocking processes, like dd.