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

System Functions (r) rename_oss(2)
[EROFS] The requested operation requires writing in a directory on a read-only fileset.
[ETXTBSY] The file to be renamed is already busy. The file specified by the from parameter
is a NonStop SQL/MP object file that is currently executing.
[EXDEV] The link specified by the to parameter and the file specified 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 define. 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.
The errno value [EMLINK] is not returned, because links to directories are not allowed.
The following are HP extensions to the XPG4 Version 2 specification:
The errno values [EFAULT], [EFSBAD], [EGUARDIANOPEN], [ENOMEM],
[ENOROOT], [ENXIO], [EOSSNOTRUNNING], [EPERM], and [EXDEV] can be
returned.
The rename_oss() function is a HP extension to the XPG4 Version 2 specification.
527186-023 Hewlett-Packard Company 651