OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man2 / mknod.2
index ff55813..1f8e9dc 100644 (file)
@@ -1,16 +1,17 @@
-.\" 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
@@ -97,7 +98,7 @@ If the directory containing the node has the set-group-ID
 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
@@ -112,6 +113,10 @@ did not allow search permission.
 (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.
@@ -169,7 +174,7 @@ does not support the type of node requested.
 .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
@@ -201,7 +206,7 @@ One should make directories with
 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),