ADIC Server manual Acidriveaccess, 12Example of the acidismount Function

Models: Server

1 218
Download 218 pages 15.53 Kb
Page 60
Image 60

/* 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

);

}

Figure 4-12Example of the aci_dismount Function

aci_driveaccess

The aci_driveaccess function modifies allocation status of a drive. See Figure 4-13.

#include "aci.h"

int aci_driveaccess( char *clientname, char *drive,

enum aci_drive_status status );

Figure 4-13aci_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-7for a description of the parameters for the aci_driveaccess function Call.

4-18 DAS ACI Functions

601626-B

Page 60
Image 60
ADIC Server manual Acidriveaccess, 12Example of the acidismount Function