Open System Services System Calls Reference Manual (G06.28+)
System Functions (k - m) mknod(2)
[EEXIST] The named file exists.
[EFAULT] The path parameter points outside the process’s allocated address space.
[EFSBAD] The fileset catalog for one of the filesets involved in the operation is corrupt.
[EINVAL] One of the following conditions exists:
• The value S_IFBLK was specified for the mode parameter.
• A value other than 0 (zero) was specified for the device parameter when
a value other than S_IFCHR was specified for the mode parameter.
• An invalid value was specified for the device parameter when the value
S_IFCHR was specified for the mode parameter.
• The mode parameter specifies a file type of S_IFDIR but the path
parameter specifies a pathname of the form /G/vol.
• The mode parameter specifies a file type of S_IFIFO but the path
parameter specifies a pathname in /G (the Guardian file system).
[EIO] During an access of the file system, an I/O error occurred.
[ELOOP] Too many symbolic links were encountered in resolving the value of the path
parameter.
[ENAMETOOLONG]
One of the following is too long:
• The pathname pointed to by the path parameter
• 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.
527186-005 Hewlett-Packard Company 4−41