Sort error descriptions.
This commit is contained in:
parent
6b796b19da
commit
cbbf7c09a0
|
@ -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,8 +66,30 @@ is set to indicate the error.
|
|||
.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 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 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
|
||||
|
@ -76,42 +98,18 @@ characters, or an entire path name exceeded
|
|||
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 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 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 ,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: revoke.2,v 1.14 2011/07/03 20:36:34 jruoho Exp $
|
||||
.\" $NetBSD: revoke.2,v 1.15 2011/07/08 19:26:19 wiz Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -76,20 +76,20 @@ is set to indicate the reason.
|
|||
.Sh ERRORS
|
||||
Access to the named file is revoked unless one of the following:
|
||||
.Bl -tag -width Er
|
||||
.It Bq Er ENOTDIR
|
||||
A component of the path prefix is not a directory.
|
||||
.It Bq Er EACCES
|
||||
Search permission is denied for a component of the path prefix.
|
||||
.It Bq Er EFAULT
|
||||
.Fa path
|
||||
points outside the process's allocated address space.
|
||||
.It Bq Er ELOOP
|
||||
Too many symbolic links were encountered in translating the pathname.
|
||||
.It Bq Er ENAMETOOLONG
|
||||
A component of a pathname exceeded 255 characters,
|
||||
or an entire path name exceeded 1024 characters.
|
||||
.It Bq Er ENOENT
|
||||
The named file or a component of the path name does not exist.
|
||||
.It Bq Er EACCES
|
||||
Search permission is denied for a component of the path prefix.
|
||||
.It Bq Er ELOOP
|
||||
Too many symbolic links were encountered in translating the pathname.
|
||||
.It Bq Er EFAULT
|
||||
.Fa path
|
||||
points outside the process's allocated address space.
|
||||
.It Bq Er ENOTDIR
|
||||
A component of the path prefix is not a directory.
|
||||
.It Bq Er EPERM
|
||||
The caller is neither the owner of the file nor the super user.
|
||||
.El
|
||||
|
|
Loading…
Reference in New Issue