![](/images/new-backgrounds/1147420/147420119x1.webp)
/* 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-12 Example of the aci_dismount Function
aci_driveaccess
The aci_driveaccess function modifies allocation status of a drive. See Figure
#include "aci.h"
int aci_driveaccess( char *clientname, char *drive,
enum aci_drive_status status );