[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

gfsdel Kernel Service


Removes a file system type from the gfs table.


#include <sys/types.h>
#include <sys/errno.h>
int gfsdel (gfsno)
int  gfsno;


gfsno Specifies the file system number. This value identifies the type of the file system to be deleted.


The gfsdel kernel service is called to delete a file system type. It is not valid to mount any file system of the given type after that type has been deleted.

Execution Environment

The gfsdel kernel service can be called from the process environment only.

Return Values

0 Indicates successful completion.
ENOENT Indicates that the indicated file system type was not installed.
EINVAL Indicates that the gfsno value is larger than the system-defined maximum. The system-defined maximum is indicated in the /usr/include/sys/vmount.h file.
EBUSY Indicates that there are active vfs structures for the file system type being deleted.

Implementation Specifics

The gfsdel kernel service is part of Base Operating System (BOS) Runtime.

Related Information

Virtual File System Overview, Virtual File System Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.

The gfsadd kernel service.

[ Previous | Next | Contents | Home | Search ]