ST(4S) — SPECIAL FILES
NAME
st − Driver for Sysgen SC 4000 (Archive) and the Emulex MT-02 Tape Controller
SYNOPSIS — SUN-3
controller sc0 at vme24d16 ? csr 0x200000 priority 2 vector scintr 0x40
controller si0 at vme24d16 ? csr 0x200000 priority 2 vector siintr 0x40
controller si0 at obio ? csr 0x140000 priority 2
tape st0 at sc0 drive 32 flags 1
tape st0 at si0 drive 32 flags 1
tape st1 at sc0 drive 40 flags 1
tape st1 at si0 drive 40 flags 1
The first two controller lines above specify the first SCSI controller on a Sun-3/160. The third controller line above specifies the first and only SCSI controller on a Sun-3/50. The four tape lines specify the first and second tape drives on the first SCSI controller in a system.
The drive value is calculated using the formula:
8∗target+unit
where target is the SCSI target, and unit is the SCSI logical unit.
SYNOPSIS — SUN-2
controller sc0 at mbmem ? csr 0x80000 priority 2
controller sc0 at vme24 ? csr 0x200000 priority 2 vector scintr 0x40
controller sc1 at mbmem ? csr 0x84000 priority 2
tape st0 at sc0 drive 32 flags 1
tape st0 at sc1 drive 32 flags 1
tape st1 at sc0 drive 40 flags 1
tape st1 at sc1 drive 40 flags 1
The first two controller lines above specify the first and second SCSI controllers on a Sun-2/120 or Sun-2/170. The third controller line specifies the first controller on a Sun-2/160. The four tape lines specify the first and second tape drives on the first and second SCSI controllers in a system.
The drive value is calculated as described above.
DESCRIPTION
The Sysgen tape controller is a SCSI bus interface to an Archive streaming tape drive. It provides a standard tape interface to the device, see mtio(4), with some deficiencies listed under BUGS below. To utilize the QIC 24 format, access the logical device that is eight more than the default physical (QIC 11) device (that is, rst0 = QIC 11, rst8 = QIC 24).
FILES
/dev/rst[0-3]QIC 11 Format
/dev/rst[8-11]QIC 24 Format
/dev/nrst[0-3]non-rewinding QIC 11 Format
/dev/nrst[8-11]non-rewinding QIC 24 Format
SEE ALSO
Sysgen SC4000 Intelligent Tape Controller Product Specification
DIAGNOSTICS
st∗: tape not online.
st∗: no cartridge in drive.
st∗: cartridge is write protected.
st∗: format change failed.
st∗: device not supported.
BUGS
The tape cannot reverse direction so the BSF and BSR ioctls are not supported.
The FSR ioctl is not supported.
Most disk I/O over the SCSI bus is prevented when the tape is in use. This is because the controller does not free the bus while the tape is in motion (even during rewind).
When using the raw device, the number of bytes in any given transfer must be a multiple of 512. If it is not, the device driver returns an error.
The driver will only write an end of file mark on close if the last operation was a write, without regard for the mode used when opening the file. This will cause empty files to be deleted on a raw tape copy operation.
Some older systems may not support the QIC 24 device, and may complain (or exhibit erratic behavior) when the user attempts a QIC 24 device access.
Sun Release 3.2 — Last change: 21 May 1986