mirror of https://github.com/mkerrisk/man-pages
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:
parent
38b6e5b098
commit
a1f016851a
|
@ -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.
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue