aci_cleandrive 4-9
21 Dec 2001
aci_cleandrive
The aci_cleandrive function mounts a cleaning cartridge to a
specific drive. See Figure 4-5.
Figure 4-5 aci_cleandrive Function Call
See Table 4-3 for a description of the parameter for the
aci_cleandrive function call.
Only clean the drives when they need to be cleaned.
Unnecessary cleaning damages the drives.
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
• EDRVOCUPPIED
• EPROBVOL
• EAMU
• EROBOTCOMM
• EDASINT
• EDEVEMPTY
• ENOTAUTH
• EBADCLIENT
Table 4-3 Parameter for the aci_cleandrive Function Call
Parameter Description
drive name of the drive to be cleaned
#include "aci.h"
int aci_cleandrive( char *drive)