STScI Logo

rewind system


NAME · USAGE · PARAMETERS · DESCRIPTION · EXAMPLES · SEE_ALSO

NAME

rewind -- rewind a previously allocated device

USAGE

rewind device

PARAMETERS

device
The device to be rewound.
initcache = yes
Initialize the magtape device position cache for the device. This causes the magtape i/o system to "forget" what it thinks it knows about things like the number of files on the tape, the amount of tape used, and so on.

DESCRIPTION

Rewind rewinds the specified device, which is most likely a magnetic tape, and which has been previously allocated to the user.

By default rewind will initialize the device position cache. When changing tapes, one should always either rewind or deallocate and reallocate the device, to force the magtape system to recompute the number of files on the tape and to ensure that the tape is left in a defined position.

EXAMPLES

1. Rewind logical tape drive a.

cl> rewind mta

SEE ALSO

allocate, deallocate, devstatus


Source Code · Search Form · STSDAS