readbuffer(1)

readbuffer1

Read input from devices which don't like constant stopping and starting

Usage

readbuffer [--mlock] [size]

Overview

readbuffer reads data on standard input and writes it to standard output. It will internally buffer up to size megabytes of data, and will only read more data when the buffer is at least 75% empty.

size may also be suffixed with m, k, or b to indicate that it is in megabytes (2^20), kilobytes (2^10) or bytes.

It is intended for use in situations where many small reads are undesirable for performance reasons, e.g. tape drives.

Options

--mlock

Calls mlock(2) to lock the buffer into memory.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1
  2. 4.0–13

From chiark-rwbuffer 8.0.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.