misc/buffer - The NetBSD Packages Collection

Buffer sporadic binary I/O for faster tape use

This is a program designed to speed up writing tapes on remote tape drives.
Requirements are shared memory and locks which normally means that these are
supported in your kernel. [for FreeBSD/NetBSD, this means you MUST have a kernel
with options SYSVSHM compiled in - markm]

Buffer has been tested under SunOS 4.0.*, SunOS 4.1.*, Solarix, HP-UX 7.0, and
Gould UTX 2.1A (sv universe).

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.

I run an archive and need to write large chunks out to tape regularly
with an ethernet in the way.  Using 'buffer' in a command like:

	tar cvf - stuff | rsh somebox "buffer > /dev/rst8"

is a factor of 5 faster than the best alternative, gnu tar with its
remote tape option:

	tar cvf somebox:/dev/rst8 stuff

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64buffer-1.17nb1.tgz
NetBSD 10.0aarch64buffer-1.17nb1.tgz
NetBSD 10.0aarch64ebbuffer-1.17nb1.tgz
NetBSD 10.0aarch64ebbuffer-1.17nb1.tgz
NetBSD 10.0alphabuffer-1.17nb1.tgz
NetBSD 10.0alphabuffer-1.17nb1.tgz
NetBSD 10.0earmv4buffer-1.17nb1.tgz
NetBSD 10.0earmv4buffer-1.17nb1.tgz
NetBSD 10.0earmv6hfbuffer-1.17nb1.tgz
NetBSD 10.0earmv6hfbuffer-1.17nb1.tgz
NetBSD 10.0earmv6hfbuffer-1.17nb1.tgz
NetBSD 10.0earmv7hfbuffer-1.17nb1.tgz
NetBSD 10.0earmv7hfbuffer-1.17nb1.tgz
NetBSD 10.0earmv7hfbuffer-1.17nb1.tgz
NetBSD 10.0i386buffer-1.17nb1.tgz
NetBSD 10.0i386buffer-1.17nb1.tgz
NetBSD 10.0m68kbuffer-1.17nb1.tgz
NetBSD 10.0powerpcbuffer-1.17nb1.tgz
NetBSD 10.0powerpcbuffer-1.17nb1.tgz
NetBSD 10.0powerpcbuffer-1.17nb1.tgz
NetBSD 10.0sh3elbuffer-1.17nb1.tgz
NetBSD 10.0sh3elbuffer-1.17nb1.tgz
NetBSD 10.0sparc64buffer-1.17nb1.tgz
NetBSD 10.0sparc64buffer-1.17nb1.tgz
NetBSD 10.0sparcbuffer-1.17nb1.tgz
NetBSD 10.0sparcbuffer-1.17nb1.tgz
NetBSD 10.0vaxbuffer-1.17nb1.tgz
NetBSD 10.0vaxbuffer-1.17nb1.tgz
NetBSD 10.0vaxbuffer-1.17nb1.tgz
NetBSD 10.0x86_64buffer-1.17nb1.tgz
NetBSD 10.0x86_64buffer-1.17nb1.tgz
NetBSD 9.0aarch64buffer-1.17nb1.tgz
NetBSD 9.0aarch64buffer-1.17nb1.tgz
NetBSD 9.0alphabuffer-1.17nb1.tgz
NetBSD 9.0alphabuffer-1.17nb1.tgz
NetBSD 9.0earmv4buffer-1.17nb1.tgz
NetBSD 9.0earmv6hfbuffer-1.17nb1.tgz
NetBSD 9.0earmv6hfbuffer-1.17nb1.tgz
NetBSD 9.0earmv6hfbuffer-1.17nb1.tgz
NetBSD 9.0earmv7hfbuffer-1.17nb1.tgz
NetBSD 9.0earmv7hfbuffer-1.17nb1.tgz
NetBSD 9.0earmv7hfbuffer-1.17nb1.tgz
NetBSD 9.0i386buffer-1.17nb1.tgz
NetBSD 9.0i386buffer-1.17nb1.tgz
NetBSD 9.0m68kbuffer-1.17nb1.tgz
NetBSD 9.0powerpcbuffer-1.17nb1.tgz
NetBSD 9.0powerpcbuffer-1.17nb1.tgz
NetBSD 9.0powerpcbuffer-1.17nb1.tgz
NetBSD 9.0sparc64buffer-1.17nb1.tgz
NetBSD 9.0sparc64buffer-1.17nb1.tgz
NetBSD 9.0x86_64buffer-1.17nb1.tgz
NetBSD 9.0x86_64buffer-1.17nb1.tgz
NetBSD 9.3x86_64buffer-1.17nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.