Open System Services System Calls Reference Manual (G06.27+, H06.04+)
mknod(2) OSS System Calls Reference Manual
[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.
[EROFS] The directory in which the file is to be created is located on a read-only fileset.
RELATED INFORMATION
Functions: chmod(2), mkdir(2), mkfifo(3), open(2), umask(2), stat(2).
Commands: chmod(1), mkdir(1).
STANDARDS CONFORMANCE
The OSS file system does not support block special files. The file type S_IFBLK is therefore not
valid.
The following are HP extensions to the XPG4 Version 2 specification:
• The errno values [EFAULT], [EFSBAD], [ENOROOT], [ENXIO], and [EOSSNO-
TRUNNING] can be returned.
• Behavior is defined when values for the mode parameter other than S_IFIFO are
specified.
• Behavior is defined when values for the device parameter other than 0 (zero) are
specified.
4−30 Hewlett-Packard Company 527186-004