aci_mount 4-91
21 Dec 2001
aci_mount
The aci_mount function mounts a volume in a drive. See
Figure 4-82
Figure 4-82 aci_mount Function Call
Mount the volume named volser of media type type in the
drive named drive. The volume will then be available to the
requesting client. See Table 4-35.
For additional information, refer to aci_dismount on page 4-16,
and aci_scratch_set on page 4-114, and aci_view on page 4-123.
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
• ENOVOLUME
• ENODRIVE
Table 4-35 Parameters for the aci_mount Function Cal l
Parameter Description
volser Volser which should be mounted (also foreign volser possible after
the cataloging with carf)
type Media type of the named volser
Refer to Media Types on page 2-7
drive Name of the drive which should be mounted. If the drive is set to
the NULL string, the drive is automatically selected from the list
of available drives to the client. The client host must have
Automatic Volume Recognition (AVR) active to detect the mount.
#include "aci.h"
int aci_mount( char *volser,
enum aci_media type,
char *drive )