forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
10 lines
604 B
Text
10 lines
604 B
Text
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.
|