Ian Dowse ffe40c80ea In the !MNT_BYFSID case, return EINVAL from unmount(2) when the
specified directory is not found in the mount list. Before the
MNT_BYFSID changes, unmount(2) used to return ENOENT for a nonexistent
path and EINVAL for a non-mountpoint, but we can no longer distinguish
between these cases. Of the two error codes, EINVAL was more likely
to occur in practice, and it was the only one of the two that was
documented.

Update the manual page to match the current behaviour.

Suggested by:	tjr
Reviewed by:	tjr
2003-09-08 16:23:21 +00:00
..
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
2003-06-14 19:32:52 +00:00
2003-07-01 15:07:01 +00:00
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
Use
2003-06-06 13:46:55 +00:00
2003-06-08 10:34:00 +00:00
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
2003-08-18 15:25:39 +00:00
Use
2003-06-06 13:46:55 +00:00
2003-06-08 10:34:00 +00:00
Use
2003-06-06 13:46:55 +00:00
2002-09-28 00:25:32 +00:00
2003-08-18 15:25:39 +00:00
2002-09-28 00:25:32 +00:00
2003-08-18 15:25:39 +00:00
2003-06-01 19:41:49 +00:00
2003-05-22 13:02:28 +00:00
2003-08-18 15:25:39 +00:00
2002-09-28 00:25:32 +00:00
2003-08-30 13:57:31 +00:00
2002-09-28 00:25:32 +00:00