WRITEBUF(8)

NAME
writebuf - write device buffer

SYNOPSIS
writebuf -a b.t.l [ -m mode ] [ -b buffer-id ] [ -o buffer-offset ] [ -p plist-len ] -f filename

DESCRIPTION

The writebuf program will send a WRITE BUFFER command to the named SCSI device. It is typically used to download new microcode to SCSI devices.

The required -a argument must be used to select a specific ordinal SCSI address (see libscsi(8)).

The required argument set of -f filename must refer to a file containing the data to write.

SEE ALSO
The ANSI SCSI-2 specification for the meanings of the rest of the arguments.

BUGS AND WARNINGS
Some microcode files can be quite substantial, running to many megabytes in size. Please be sure that the platform that you run this command on, and the host adapter that attaches the device to which you are directing this command, can support sending all of the microcode in one command- loading a fraction of the microcode and failing can be disastrous and damage a device to the point that it will need to be sent back to the factory. Use the lusbinfo(8) command to try and find the I/O transfer limit size for these constraining factors, and keep in mind that this is a dangerous command to use.

SEE ALSO
libuscsi(8)
lusbinfo(8)