Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

advfs_get_file_attributes(3) [osf1 man page]

advfs_get_file_attributes(3)				     Library Functions Manual				      advfs_get_file_attributes(3)

NAME
advfs_get_file_attributes - Get the AdvFS attributes of a file SYNOPSIS
#include <sys/advfs_syscalls.h> int advfs_get_file_attributes( int fd, fileAttributesT *fileAttributes ); LIBRARY
AdvFS Library (libadvfs) PARAMETERS
An open file descriptor of the file for which you want to obtain the attributes. A pointer to a structure that will contain the file attributes on successful return from the function. DESCRIPTION
This function returns the AdvFS-specific attributes of the file specified by the fd parameter in the specified fileAttributes structure. RETURN VALUES
The function returns a value of 0 (zero) on successful completion. The function returns a value of -1 on failure and sets the value of errno to the specific error. ERRORS
The function sets errno to the specified errors for the following failure conditions: The file descriptor fd is not pointing to a file that resides in an AdvFS fileset. An I/O error occurred on one of the disks containing the file. There is not enough memory available for the operation. SEE ALSO
Commands: chfile(8), showfile(8), stripe(8) Functions: open(2), advfs_set_file_attributes(3) advfs_get_file_attributes(3)

Check Out this Related Man Page

advfs_rmfset(3) 					     Library Functions Manual						   advfs_rmfset(3)

NAME
advfs_rmfset - Removes a fileset or a clone fileset SYNOPSIS
#include <sys/advfs_syscalls.h> int advfs_rmfset( char domain, char fileset ); LIBRARY
AdvFS Library (libadvfs) PARAMETERS
Specifies the name of an existing AdvFS file domain. Specifies the name of the fileset to be removed from the specified file domain. DESCRIPTION
This function removes an AdvFS fileset from the named file domain. Once you have removed a fileset using this function, the fileset and its files are not recoverable. The only way to restore the fileset and its files is by using a backed up version of the fileset. RESTRICTIONS
This function only removes AdvFS filesets; it does not remove UFS file systems. The program that calls this function must be running with root privileges. A fileset or clone fileset cannot be removed with this function if it is mounted. A fileset that has a clone fileset cannot be removed with this function until the clone fileset has been removed. RETURN VALUES
The function returns a value of 0 (zero) on successful completion. The function returns a value of -1 on failure and sets the value of errno to the specific error. ERRORS
The function sets errno to the specified errors for the following failure conditions: The calling program is not running with root privi- leges. The AdvFS lock for domain could not be acquired because one of the following operations was already running on the domain: balance, defragment, rmfset, or rmvol. This fileset is still mounted; it must be unmounted before it can be removed. This fileset has a clone fileset, which must be removed before this fileset can be removed. An I/O error occurred on one of the disks in the file domain. One or both of the names for the fileset and the domain are NULL or set to . The file domain specified by the domain parameter does not exist. The fileset specified by the fileset parameter does not exist in the file domain specified by the domain parameter. There is not enough memory available for the operation. SEE ALSO
Commands: rmfset(8) Functions: advfs_clonefset(3) advfs_rmfset(3)
Man Page