Aci_driveaccess, Aci_driveaccess -18, Figure 4-12 – ADIC Server User Manual
Page 60: Figure 4-13

4-18
DAS ACI Functions
601626-B
Figure 4-12
Example of the aci_dismount Function
aci_driveaccess
The aci_driveaccess function modifies allocation status of a
drive. See Figure 4-13.
Figure 4-13
aci_driveaccess Function Call
Modify allocation status of a drive for a specified client.
For additional information, Refer to
aci_drivestatus on page 4-21.
See Table 4-7 for a description of the parameters for the
aci_driveaccess function Call.
/* Dismount volume from drive */
int rc = 0;
enum aci_media type = ACI_3590;
char *volser = "AAB001";
if (( rc = aci_dismount( volser, type ) ))
{
aci_perror( "Dismount command failed: " );
}
else
{
printf( "Dismount of %s successful.\n", volser
);
}
#include "aci.h"
int aci_driveaccess( char *clientname,
char *drive,
enum aci_drive_status status );