| Skip Navigation Links | |
| Exit Print View | |
|
Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
1. User Commands (Man Pages Section 1)
2. Maintenance Commands (Man Pages Section 1M)
3. Library Functions (Man Pages Section 3)
4. Library Functions (Man Pages Section 3X)
5. File Formats (Man Pages Section 4)
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. Other-
wise, a value of -1 is returned and errno is set to indicate
the error.
FILES
/etc/opt/SUNWsamfs/mcf
The configuration file for Sun QFS and
SAM-QFS file systems.
SEE ALSO
defaults.conf(4).