Technical data
SunOS 5.5 Devices st(7D)
Note that a semicolon (;) is used to terminate a prototype devinfo node specification.
Individual elements listed within the specification should not be separated by a semi-
colon. Refer to driver.conf(4) for more information.
<vid+pid> is the string that is returned by the tape device on a SCSI inquiry command.
This string may contain any character in the range 0x20-0x7e. Characters such as “ " ”
(double quote) or “ ’ ” (single quote), which are not permitted in property value strings,
are represented by their octal equivalent (for example, \042 and \047). Trailing spaces
may be truncated.
<pretty print> is used to report the device on the console. This string may have zero
length, in which case the <vid+pid> will be used to report the device.
<data-property-name> is the name of the property which contains all the tape
configuration values (such as <type>, <bsize>, etc.) corresponding for the tape drive for
the specified <vid+pid>.
<version> is a version number and should be 1. In the future, higherversion numbers
may be used to allow for changes in the syntax of the <data-property-name> value list.
<type> is a type field. Valid types are defined in /usr/include/sys/mtio.h. For third party
tape configuration, the following generic types are recommended:
MT_ISQIC 0x32
MT_ISREEL 0x33
MT_ISDAT 0x34
MT_IS8MM 0x35
MT_ISOTHER 0x36
<bsize> is the preferred block size of the tape device. The value should be 0 for variable
block size drives.
<options> is a bit pattern representingthe drive options, as defined in
/usr/include/sys/scsi/targets/stdef.h. Valid flags for tape configuration are:
ST_VARIABLE 0x0001
ST_QIC 0x0002
ST_REEL 0x0004
ST_BSF 0x0008
ST_BSR 0x0010
ST_LONG_ERASE 0x0020
ST_AUTODEN_OVERRIDE 0x0040
ST_NOBUF 0x0080
ST_KNOWS_EOD 0x0200
ST_UNLOADABLE 0x0400
ST_SOFT_ERROR_REPORTING 0x0800
ST_LONG_TIMEOUTS 0x1000
ST_BUFFERED_WRITES 0x4000
ST_NO_RECSIZE_LIMIT 0x8000
ST_MODE_SEL_COMP 0x10000
modified 30 Aug 1995 7D-305










