User Guide

Ampex 1308911-02 ix
DST/DIS Tape Drive UNIX Programmer’s Guide Addendum
dd2_setnoflush_drive
NAME
dd2_setnoflush_drive - Set or reset the noflush drive setting.
USE
When set, filemarks are buffered. When reset, the buffer is flushed when filemarks are
written. this setting can be read back from the drive as the DST_NO_FLUSH bit in the
attrib field of the ddt_getparam_drive command. This setting persists within the drive
until set/reset again by command or power-on.
USAGE
dd2_setnoflush_drive - noflush <noflush_setting> (this flag is required except it
OPTIONS
fd The file descriptor returned by the open call.
noflush_setting Integer value; 0 for off (default), nonzero for on.
RETURN VALUES
The return value is DST_SUCCESS (0) or DST_FAILURE (-1). See the dst_api_intro()
manual page for information on
errno failure messages and associated DST result codes.
SEE ALSO
dst_getparam(), dd2_getparam_drive