Correct wording of EBUSY case.

Add ".." case to ENOTEMPTY error
This commit is contained in:
Michael Kerrisk 2006-05-01 01:52:19 +00:00
parent 4c5dd86906
commit ade10f9902
1 changed files with 12 additions and 2 deletions

View File

@ -54,7 +54,12 @@ did not allow search permission.
.TP
.B EBUSY
.I pathname
is the current working directory or root directory of some process.
is currently in use by the system or some process that prevents its
removal.
On Linux this means
.I pathname
is currently used as a mount point
or is the root directory of the calling process.
.TP
.B EFAULT
.IR pathname " points outside your accessible address space."
@ -89,7 +94,12 @@ is not, in fact, a directory.
.B ENOTEMPTY
.I pathname
contains entries other than
.IR . " and " .. " ."
.IR . " and " .. " ;"
or,
.I pathname
has
.IR ..
as its final component.
.TP
.B EPERM
The directory containing