Skip Headers
Oracle Hierarchical Storage Manager and QFS Software Command Reference
Section 3: Introduction to Library Functions
Release 6.1.1
E70305-03

NAME

sam_mig_release_device - Releases a device

SYNOPSIS

cc [ flag … ] file … -L∕opt∕SUNWsamfs∕lib -lsamut [ library … ]

#include "∕opt∕SUNWsamfs∕include∕mig.h"

int sam_mig_release_device(char * device );

AVAILABILITY

SUNWsamfs

DESCRIPTION

sam_mig_release_device() releases the reservation for the device returned from sam_mig_mount_media. The drive will enter the pool of available drives and the media will be unloaded when the drive is needed or the idle_unload time has expired (see defaults.conf (4)).

RETURN VALUES

Upon succesful completion a value of 0 is returned. Otherwise, a value of -1 is returned and errno is set to indicate the error.

FILES

∕etc∕opt∕SUNWsamfs∕mcf

The configuration file for StorageTek QFS and Oracle HSM file systems.

SEE ALSO

defaults.conf (4).