Module Name:    src
Committed By:   wiz
Date:           Fri Jul  8 19:25:51 UTC 2011

Modified Files:
        src/lib/libc/sys: mknod.2

Log Message:
Sort error descriptions.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/sys/mknod.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/mknod.2
diff -u src/lib/libc/sys/mknod.2:1.21 src/lib/libc/sys/mknod.2:1.22
--- src/lib/libc/sys/mknod.2:1.21	Sun Jul  3 14:11:43 2011
+++ src/lib/libc/sys/mknod.2	Fri Jul  8 19:25:51 2011
@@ -1,4 +1,4 @@
-.\"	$NetBSD: mknod.2,v 1.21 2011/07/03 14:11:43 jruoho Exp $
+.\"	$NetBSD: mknod.2,v 1.22 2011/07/08 19:25:51 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -66,52 +66,50 @@
 .Fn mknod
 will fail and the file will be not created if:
 .Bl -tag -width Er
-.It Bq Er ENOTDIR
-A component of the path prefix is not a directory.
-.It Bq Er ENAMETOOLONG
-A component of a pathname exceeded
-.Brq Dv NAME_MAX
-characters, or an entire path name exceeded
-.Brq Dv PATH_MAX
-characters.
-.It Bq Er ENOENT
-A component of the path prefix does not exist.
 .It Bq Er EACCES
 Search permission is denied for a component of the path prefix.
+.It Bq Er EDQUOT
+The directory in which the entry for the new node
+is being placed cannot be extended because the
+user's quota of disk blocks on the file system
+containing the directory has been exhausted; or
+the user's quota of inodes on the file system on
+which the node is being created has been exhausted.
+.It Bq Er EEXIST
+The named file exists.
+.It Bq Er EFAULT
+.Fa path
+points outside the process's allocated address space.
 .It Bq Er EINVAL
 The supplied
 .Fa mode
 or
 .Fa dev
 is invalid.
-.It Bq Er ELOOP
-Too many symbolic links were encountered in translating the pathname.
-.It Bq Er EPERM
-The process's effective user ID is not super-user.
 .It Bq Er EIO
 An I/O error occurred while making the directory entry or allocating the inode.
+.It Bq Er ELOOP
+Too many symbolic links were encountered in translating the pathname.
+.It Bq Er ENAMETOOLONG
+A component of a pathname exceeded
+.Brq Dv NAME_MAX
+characters, or an entire path name exceeded
+.Brq Dv PATH_MAX
+characters.
+.It Bq Er ENOENT
+A component of the path prefix does not exist.
 .It Bq Er ENOSPC
 The directory in which the entry for the new node is being placed
 cannot be extended because there is no space left on the file
-system containing the directory.
-.It Bq Er ENOSPC
-There are no free inodes on the file system on which the
+system containing the directory; or
+there are no free inodes on the file system on which the
 node is being created.
-.It Bq Er EDQUOT
-The directory in which the entry for the new node
-is being placed cannot be extended because the
-user's quota of disk blocks on the file system
-containing the directory has been exhausted.
-.It Bq Er EDQUOT
-The user's quota of inodes on the file system on
-which the node is being created has been exhausted.
+.It Bq Er ENOTDIR
+A component of the path prefix is not a directory.
+.It Bq Er EPERM
+The process's effective user ID is not super-user.
 .It Bq Er EROFS
 The named file resides on a read-only file system.
-.It Bq Er EEXIST
-The named file exists.
-.It Bq Er EFAULT
-.Fa path
-points outside the process's allocated address space.
 .El
 .Sh SEE ALSO
 .Xr chmod 2 ,

Reply via email to