Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
rmdir(2) OSS System Calls Reference Manual
— The directory owner
— A process with appropriate privileges
[EBUSY] One of the following conditions exists:
• The directory specified by the path parameter is in use as the mount
point for a fileset.
• The directory specified by the path parameter is /E or /G (the Guardian
file system) or a disk volume or process within /G (has an OSS pathname
of the form /G/vol or /G/process).
• The directory specified by the path parameter is the lost+found directory
in the root directory for a fileset.
[EFAULT] The path parameter is an invalid address.
[EFSBAD] The fileset catalog for one of the filesets involved in the operation is corrupt.
[EINVAL] The specified . (dot) or ..(dot-dot) pathname cannot be removed.
[EIO] During a read from or write to a fileset, an I/O error occurred.
[ELOOP] Too many symbolic links were encountered in translating the path parameter.
[ENAMETOOLONG]
One of the following is too long:
• The pathname pointed to by the path parameter
• A component of the pathname pointed to by the path parameter
• The intermediate result of pathname resolution when a symbolic link is
part of the path parameter
The pathconf( ) function can be called to obtain the applicable limits.
[ENOENT] One of the following conditions exists:
• The directory specified by the path parameter does not exist.
• The path parameter specifies an empty string.
• The path parameter specifies a file on a remote HP NonStop node but
communication with the remote node has been lost.
[ENOROOT] One of the following conditions exists:
• The root fileset of the local node (fileset 0) is not in the STARTED state.
• The current root fileset for the specified file is unavailable. The OSS
name server for the fileset might have failed.
• The specified file is on a remote HP NonStop node and communication
with the remote name server has been lost.
6−54 Hewlett-Packard Company 527186-023