sam_mig_release_device - Releases a device
cc [
flag
… ]
file
… -L∕opt∕SUNWsamfs∕lib -lsamut [
library … ]
#include "∕opt∕SUNWsamfs∕include∕mig.h"
int sam_mig_release_device(char *
device );
SUNWsamfs
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)).
Upon succesful completion a value of 0 is returned.
Otherwise, a value of -1 is returned and
errno
is set to indicate the error.
∕etc∕opt∕SUNWsamfs∕mcf
The configuration file for StorageTek QFS and Oracle HSM file systems.