Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
link(2) OSS System Calls Reference Manual
[EPERM] One of the following conditions occurred:
• The file specified by the path1 parameter is a directory.
• The call attempted to create a link in the root directory of an OSS fileset
to a file called lost+found.
• The call attempted to create a link to /dev/tty or /dev/null.
• The program attempted an operation on a SEEP-protected fileset. Valid
for J06.15 and later J-series RVUs, and H06.26 and later H-series RVUs.
[EROFS] The requested link requires writing to a directory on a read-only fileset.
[EXDEV] The link specified by the path2 parameter and the file specified by the path1
parameter are on different filesets.
RELATED INFORMATION
Commands: ln(1).
Functions: unlink(2).
STANDARDS CONFORMANCE
The POSIX standards leave some features to the implementing vendor to define. The following
features are affected in the HP implementation:
• The link( ) function is not supported between filesets.
• The link( ) function is not supported for directories.
The following are HP extensions to the XPG4 Version 2 specification:
• The errors [EFAULT], [EFSBAD], [EINVAL], [EIO], [ENOROOT], [ENOTDIR],
[ENXIO], and [EOSSNOTRUNNING] can be returned.
4−18 Hewlett-Packard Company 527186-023