link.2, mkdir.2, mknod.2, open.2, rename.2, symlink.2, write.2, mkfifo.3: Document EDQUOT error

The return error EDQUOT is not documented in open(2), write(2),
symlink(2) etc..

Whether inodes or disk blocks are required for each function
is something I based on received wisdom and BSD documentation,
rather than tracing the code to the kernel. For symlink(2)
this certainly depends on the file system type.

This patch was previously sent to the linux-man mailing list
as an RFC in September 2010.

Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Mark Hills 2012-12-22 18:56:59 +01:00 committed by Michael Kerrisk
parent 38b6e5b098
commit a1f016851a
8 changed files with 35 additions and 0 deletions

View File

@ -67,6 +67,9 @@ or
(See also
.BR path_resolution (7).)
.TP
.B EDQUOT
The user's quota of disk blocks on the file system has been exhausted.
.TP
.B EEXIST
.I newpath
already exists.

View File

@ -59,6 +59,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 (not necessarily as a directory).

View File

@ -112,6 +112,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.

View File

@ -480,6 +480,12 @@ is not allowed.
(See also
.BR path_resolution (7).)
.TP
.B EDQUOT
Where
.B O_CREAT
is specified, the file does not exist, and the user's quota of disk
blocks or inodes on the file system has been exhausted.
.TP
.B EEXIST
.I pathname
already exists and

View File

@ -131,6 +131,9 @@ it is allowed to return
if the system cannot otherwise
handle such situations.)
.TP
.B EDQUOT
The user's quota of disk blocks on the file system has been exhausted.
.TP
.B EFAULT
.IR oldpath " or " newpath " points outside your accessible address space."
.TP

View File

@ -97,6 +97,11 @@ did not allow search permission.
(See also
.BR path_resolution (7).)
.TP
.B EDQUOT
The user's quota of resources on the file system has been exhausted.
The resources could be inodes or disk blocks, dependending on the file
system implementation.
.TP
.B EEXIST
.I newpath
already exists.

View File

@ -133,6 +133,12 @@ is not a valid file descriptor or is not open for writing.
refers to a datagram socket for which a peer address has not been set using
.BR connect (2).
.TP
.B EDQUOT
The user's quota of disk blocks on the file system containing the file
referred to by
.I fd
has been exhausted.
.TP
.B EFAULT
.I buf
is outside your accessible address space.

View File

@ -70,6 +70,10 @@ is set appropriately).
One of the directories in \fIpathname\fP did not allow search
(execute) permission.
.TP
.B EDQUOT
The user's quota of disk blocks or inodes on the file system has been
exhausted.
.TP
.B EEXIST
\fIpathname\fP already exists.
This includes the case where