Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (r) rename_oss(2)
[EBUSY] One of the following conditions occurred:
The to parameter specifies a directory that exists and is one of the fol-
lowing:
/G or /E
A Guardian disk volume or process name in /G (a file with an
OSS pathname of the form /G/vol or /G/process)
The root directory of a fileset
The /dev directory or the lost+found file for a fileset (for exam-
ple, /usr/lost+found, where /usr is the mount point for a fileset)
The from parameter specifies one of the following:
/G or /E
/dev
/dev/tty or /dev/null
lost+found
[EEXIST] The to parameter specifies an existing nonempty directory or an existing Guar-
dian file (a file in /G).
[EFAULT] Either the to or from parameter is an invalid address.
[EFSBAD] The fileset catalog for one of the filesets involved in the operation is corrupt.
[EGUARDIANOPEN]
The from parameter specifies a regular disk file on the Guardian file system (that
is, a file in /G or in a directory within /G) that is already opened in exclusive
mode by Enscribe.
[EINVAL] One of the following conditions exists:
The from or to parameter is not a well-formed directory.
The calling process attempted to rename . (dot) or ..(dot-dot).
The from parameter is an ancestor of the to parameter.
[EISDIR] The to parameter specifies a directory and the from parameter specifies a
filename that is not a directory.
[ELOOP] Too many symbolic links were encountered in translating either the to or from
parameter.
[ENAMETOOLONG]
One of the following is too long:
The pathname pointed to by the to pa
rameter
527186-023 Hewlett-Packard Company 649