Clarified description of EXDEV error with respect to

file system mounted at multiple points, as per rename.2
patch from Michael Haardt <michael@moria.de>.
This commit is contained in:
Michael Kerrisk 2005-04-04 14:14:02 +00:00
parent 1dba3c20aa
commit 2d5d4b0dd0
2 changed files with 12 additions and 2 deletions

View File

@ -26,6 +26,7 @@
.\" Modified 1993-07-23 by Rik Faith <faith@cs.unc.edu>
.\" Modified 1994-08-21 by Michael Haardt
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
.\" Modified 2004-04-04, as per suggestion by Michael Hardt for rename.2
.\"
.TH LINK 2 2004-06-23 "Linux 2.6.7" "Linux Programmer's Manual"
.SH NAME
@ -118,7 +119,11 @@ The file is on a read-only filesystem.
.TP
.B EXDEV
.IR oldpath " and " newpath
are not on the same filesystem.
are not on the same mounted filesystem.
(Linux permits a filesystem to be mounted at multiple points, but
.BR link (2)
does not work across different mount points,
even if the same filesystem is mounted on both.)
.SH NOTES
Hard links, as created by
.BR link ,

View File

@ -26,6 +26,7 @@
.\"
.\" Modified Sat Jul 24 00:35:52 1993 by Rik Faith <faith@cs.unc.edu>
.\" Modified Thu Jun 4 12:21:13 1998 by Andries Brouwer <aeb@cwi.nl>
.\" Modified Thu Mar 3 09:49:35 2005 by Michael Haardt <michael@moria.de>
.\"
.TH RENAME 2 1998-06-04 "Linux 2.0" "Linux Programmer's Manual"
.SH NAME
@ -190,7 +191,11 @@ The file is on a read-only filesystem.
.TP
.B EXDEV
.IR oldpath " and " newpath
are not on the same filesystem.
are not on the same mounted filesystem.
(Linux permits a filesystem to be mounted at multiple points, but
.BR rename (2)
does not work across different mount points,
even if the same filesystem is mounted on both.)
.SH "CONFORMING TO"
POSIX, 4.3BSD, ANSI C
.SH BUGS