gfsdel Kernel Service

Purpose

Removes a file system type from the gfs table.

Syntax

#include <sys/types.h>
#include <sys/errno.h>

int gfsdel ( gfsno)
int  gfsno;

Parameter

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

Description

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

Item Description
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.