-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
.\" This manpage is Copyright (C) 1992 Drew Eckhardt;
.\" 1993 Michael Haardt
.\" 1993,1994 Ian Jackson.
+.\"
+.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
.\" You may distribute it under the terms of the GNU General
.\" Public License. It comes with NO WARRANTY.
+.\" %%%LICENSE_END
.\"
.\" Modified 1996-08-18 by urs
.\" Modified 2003-04-23 by Michael Kerrisk
.\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com>
.\"
-.TH MKNOD 2 2010-09-20 "Linux" "Linux Programmer's Manual"
+.TH MKNOD 2 2013-01-27 "Linux" "Linux Programmer's Manual"
.SH NAME
mknod \- create a special or ordinary file
.SH SYNOPSIS
bit set, or if the file system is mounted with BSD group semantics, the
new node will inherit the group ownership from its parent directory;
otherwise it will be owned by the effective group ID of the process.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
.BR mknod ()
returns zero on success, or \-1 if an error occurred (in which case,
.I errno
(See also
.BR path_resolution (7).)
.TP
+.B EDQUOT
+The user's quota of disk blocks or inodes on the file system has been
+exhausted.
+.TP
.B EEXIST
.I pathname
already exists.
.B EROFS
.I pathname
refers to a file on a read-only file system.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
SVr4, 4.4BSD, POSIX.1-2001 (but see below).
.\" The Linux version differs from the SVr4 version in that it
.\" does not require root permission to create pipes, also in that no
There are many infelicities in the protocol underlying NFS.
Some of these affect
.BR mknod ().
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR chmod (2),
.BR chown (2),
.BR fcntl (2),