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

System Functions (k - m) mknod(2)
The specied pathname is an empty string.
The specied pathname cannot be mapped to a valid Guardian lename.
The path parameter includes a symbolic link, but the le to which it
refers does not exist.
The path parameter species a le on a remote HP NonStop node but
communication with the remote node has been lost.
[ENOROOT] The root leset (leset 0) is not in the STARTED state.
[ENOSPC] The directory that would contain the new le cannot be extended, or the leset is
out of resources.
[ENOTDIR] A component of the pathname prex is not a directory.
[ENXIO] The leset containing the clients 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 species a le type other than S_IFIFO and the
calling process does not have appropriate privileges.
The mode parameter species a le type of S_IFREG but the path
parameter species a pathname of the form /G/vol.
The mode parameter species a le type of S_IFCHR but the path
parameter species a pathname in /G (the Guardian le system).
The call attempted to create a le in the /E directory.
[EROFS] The directory in which the le is to be created is located on a read-only leset.
RELATED INFORMATION
Functions: chmod(2), mkdir(2), mkfo(3), open(2), umask(2), stat(2).
Commands: chmod(1), mkdir(1).
STANDARDS CONFORMANCE
The OSS le system does not support block special les. The le type S_IFBLK is therefore not
valid.
The following are HP extensions to the XPG4 Version 2 specication:
The errno values [EFAULT], [EFSBAD], [ENOROOT], [ENXIO], and [EOSSNO-
TRUNNING] can be returned.
The le attribute S_NONSTOP is supported.
Behavior is dened when values for the mode parameter other than S_IFIFO are
specied.
527186-003 Hewlett-Packard Company 431