Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2001 11:15:34 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/25013: mv(1) cannot move unresolvable symlinks across devices
Message-ID:  <200102121615.LAA18573@khavrinen.lcs.mit.edu>
In-Reply-To: <200102120520.f1C5K1d05869@freefall.freebsd.org>
References:  <200102120520.f1C5K1d05869@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sun, 11 Feb 2001 21:20:01 -0800 (PST), Bruce Evans <bde@zeta.org.au> said:

>  I think that POSIX.2 and/or BSD made a mistake here, and mv should never
>  move across filesystems without being forced to.  

The POSIX rationale makes it clear that this was an intentional
choice.  The definition of `mv' says that it shall attempt rename()
first, but if this fails with [EXDEV], `mv' shall proceed by copying
the hierarchy.

-GAWollman




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102121615.LAA18573>