Procedure 9

Dismount Volume

client identifier

capability

 

REQUEST

Reverses the action of the mount procedure.

Client identifier identifies the device for the client and capability is the corresponding access key provided by the server for the device.
The current stream state for the stream must be dev_mount otherwise the request will fail.
Any medium loaded on the device should if possible be unloaded.

procedure status

RESPONSE

procedure status indicates the result of the request.

0

success

2

unknown client identifier for this client

7

stream is in the wrong state

8

capability is invalid

procedure status

If procedure status = success the current value of the stream status for this stream changes to dev_alloc.

Implementation

This procedure reverses the action of the Mount Volume or Identify Volume procedures. It is only valid if the device is in the mounted state (that is a tape is loaded but no file is open). If the device is a magnetic tape drive any tape cassette currently loaded is unloaded. For the special devices FILE and SINK no action is necessary.