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

System Functions (k - m) mknod(2)
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 pathname pointed to by the path parameter
The pathconf( ) function can be called to obtain the applicable limits.
[ENOENT] One of the following conditions exists:
The named directory does not exist.
The specified pathname is an empty string.
The specified pathname cannot be mapped to a valid Guardian filename.
The path parameter includes a symbolic link, but the file to which it
refers does not exist.
The path parameter specifies a file on a remote HP NonStop node but
communication with the remote node has been lost.
[ENOROOT] The root fileset (fileset 0) is not in the STARTED state.
[ENOSPC] The directory that would contain the new file cannot be extended, or the fileset is
out of resources.
[ENOTDIR] A component of the pathname prefix is not a directory.
[ENXIO] The fileset containing the client’s working directory or effective root directory is
not mounted.
[EOSSNOTRUNNING]
The program attempted an operation on an object in the OSS environment while
a required system process was not running.
[EPERM] One of the following conditions exists:
The mode parameter specifies a file type other than S_IFIFO and the
calling process does not have appropriate privileges.
The mode parameter specifies a file type of S_IFREG but the path
parameter specifies a pathname of the form /G/vol.
The mode parameter specifies a file type of S_IFCHR but the path
parameter specifies a pathname in /G (the Guardian file system).
The call attempted to create a file in the /E directory.
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 directory in which the file is to be created is located on a read-only fileset.
RELATED INFORMATION
Commands: chmod(1), getacl(1), mkdir(1), setacl(1).
Functions: acl(2), chmod(2), mkdir(2), mkfifo(3), open(2), open64(2), stat(2), stat64(2),
umask(2).
Miscellaneous topics: acl(5).
527186-023 Hewlett-Packard Company 457