ADIC Server Server User Manual


 
4-64 DAS ACI Functions
601626-B
aci_force
The aci_force function dismounts any cartridge from a specific
drive. See Figure 4-52.
Figure 4-52 aci_force Function Call
Force a dismount from a drive named drive, regardless of
which volser is in the drive. See Table 4-24.
For additional information, refer to aci_dismount on page 4-16,
and aci_mount on page 4-91.
Return Values
0: The call was successful.
-1: The call failed.
The external variable d_errno is set to one of the following
DAS error codes:
ERPC
EINVALID
ENOVOLUME
ENODRIVE
EPROBVOL
EAMU
EAMUCOMM
EROBOTCOMM
EDASINT
EDEVEMPTY
ENOTAUTH
EUPELSE
Table 4-24 Parameter for the aci_force Function Call
Parameter Description
drive name of the drive for the dismount
#include "aci.h"
int aci_force( char *drive )