Adic Server Uživatelský manuál Strana 157

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 218
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 156
aci_scratch_set 4-115
21 Dec 2001
The command will be rejected with the message
EOTHERPOOL if the medium already exists in another
scratch pool.
For additional information, refer to
aci_scratch_unset on page 4-116.
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:
EINVALID
EDASINT
ENOPOOL
ERPC
ETIMEOUT
ESWITCHINPROG
EDATABASE
ENOTSUPPHCMD
See Figure 4-105 for an example of the aci_scratch_set
function.
Figure 4-105 Example of the aci_scratch_set Function
/* Add volume to default scratch pool */
int rc;
char *pszPoolName = "";
char *pszVolser = "VOL001";
enum aci_media type = ACI_3590;
rc = aci_scratch_set(pszPoolName, type, pszVolser);
if( rc )
{
aci_perror ("aci_scratch_set failed");
}
else
{
printf("Scratch volume %s set.\n ",
pszVolser);
}
Zobrazit stránku 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 217 218

Komentáře k této Příručce

Žádné komentáře