Air Cleaner User Manual
sbdevice
Purpose
Checks tape drive availability and controls tape movement.
Syntax
sbdevice
-b
-B
-e
-f ″num″
-n
-q
-r
-s
-v
-w
device
Description
The sbdevice command is used to check the availability of the specified tape drive
or drives and to perform other tape commands. Either tape drive names or a
virtual device name can be specified for the device parameter.
For tape devices, you only need to specify the base device name (for example,
rmt0). The tape will not be moved unless rewinding, forwarding, or backspacing,
regardless of the tape device names or virtual device name specified.
Flags
-b
Causes a tape drive or virtual device to back up a file mark. If the drive is at
the beginning of a backup image, it will be positioned at the start of the
previous backup image. If the drive is currently within a backup image, it will
be returned to the start of the current image.
-B
Reads and returns the current block size of the tape drive. A value of 512 is
returned for all other device types.
-e Rewinds and ejects tapes from the specified drives. If a sequential autoloader is
used, the next sequential tape is inserted automatically.
-f “num”
Forwards the tape past the specified “num” number of file marks. This is used
to position to the next backup image on the tape.
-n
Indicates that the program is to exit with an error code if any errors should
occur. The default action is to display a message on most errors and wait for
the tape to reset.
-q
Indicates that no errors should be displayed. The command exits with a
non-zero return code if an error occurs.
-r Rewinds the specified device or devices.
Appendix A. Commands A-65