2006/12/15

SCSI Tape status codes in Linux

Status Bit   Description
BOT The tape is positioned at the beginning of the first
file.
EOT A tape operation has reached the physical End Of
Tape.
EOF The tape is positioned just after a filemark.
WR_PROT The tape (or drive) is write-protected. For some
drives this can also mean that the drive does not
support writing on the current medium type.
ONLINE The drive has a tape in place and ready for
operation.
DR_OPEN Door is open. Depending on the type of drive, this
usually means that the drive does not have a tape in
place.
IM_REP_EN Immediate report mode. This bit is set if there are
no guarantees that the data has been physically
written to the tape when the write call returns. It
is set to zero only when the driver does not buffer
data and the drive is set not to buffer data.
SM The tape is currently positioned at a setmark. DDS
specific.
EOD The tape is positioned at the end of recorded data.
DDS specific.
D_6250
D_1600
D_800 This "generic" status information reports the current
density setting for 9-track 1/2 inch tape drives only.

No comments: