Open System Services System Calls Reference Manual (G06.25+, H06.03+)

rename_oss(2) OSS System Calls Reference Manual
[ENOMEM] The system has insufcient resources to complete the operation.
[ENOROOT] One of the following conditions exists:
The root leset of the local node (leset 0) is not in the STARTED state.
The current root leset for the specied le is unavailable. The OSS
name server for the leset might have failed.
The specied le is on a remote HP NonStop node and communication
with the remote name server has been lost.
[ENOSPC] The directory that would contain to cannot be extended, because the leset is out
of space.
[ENOTDIR] The from parameter species a directory and the to parameter species a le (not
a directory), or a component of either path is not a directory.
[ENXIO] The leset containing the clients current working directory or root directory is
not mounted.
[EOSSNOTRUNNING]
A required system process is not running.
[EPERM] One of the following conditions exists:
The call attempted to create a le named lost+found in the root directory
of an OSS leset.
The call attempted to rename a Guardian le (that is, a le within /G)
that is not a regular le. This error usually occurs when an attempt is
made to rename a le as a Guardian subvolume or to rename a Guardian
subvolume.
[EROFS] The requested operation requires writing in a directory on a read-only leset.
[ETXTBSY] The le to be renamed is already busy. The le specied by the from parameter
is a NonStop SQL/MP object le that is currently executing.
[EXDEV] The link specied by the to parameter and the le specied by the from parame-
ter are on different lesets.
RELATED INFORMATION
Functions: chmod(2), link(2), mkdir(2), rename(2), rename_guardian(2), rmdir(2),
unlink(2).
Commands: chmod(1), mkdir(1), mv(1).
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to dene. The following
features are affected in the HP implementation:
The calling process is not required to have write or search permission for a directory in
order to rename the directory.
The errno value [EBUSY] is returned when either directory is in use by another process.
630 Hewlett-Packard Company 527186-003