IRAF help page for package system, program rewind

from NOAO rewind -- rewind a previously allocated deviceUSAGEPARAMETERSDESCRIPTIONEXAMPLESSEE ALSO

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,


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu