Error out if someone tries to mv a mount point. Old behavior was to
authormillert <millert@openbsd.org>
Sat, 1 Mar 1997 20:43:51 +0000 (20:43 +0000)
committermillert <millert@openbsd.org>
Sat, 1 Mar 1997 20:43:51 +0000 (20:43 +0000)
commit0e5b10c1f9d3a91db880f4eca5fce8d2f42e7111
treeefa4664013e69b87213bd1f43fe44e945955d07d
parent31a40c7ec127043f396de0bedf54f7060ba70dd3
Error out if someone tries to mv a mount point.  Old behavior was to
move all files contained in the mounted filesystem to the dest. dir
which could be quite nasty.  Personally, I think rename(2) should
return EPERM or EINVAL instead of EXDEV.
bin/mv/mv.c