found 107006 5,93-5
stop

> mv does not follow the rules for pathname resolution (Base
> Definitions, Glossary) specified by SUSv2 or the current POSIX
> draft (XBD 4.11, XRAT A.4.11).
> 
> Here is an example where '/bin/mv foo-ln/. bar' shuold be
> equivalent to '/bin/mv foo bar':
> 
>   /bin/mkdir foo
>   /bin/ln -s foo foo-ln
>   /bin/mv foo-ln/. bar


mv still refuses to rename foo in this case.  Whether or not this
is a bug, I don't know.

$ /bin/mkdir foo
$ /bin/ln -s foo foo-ln
$ /bin/mv foo-ln/. bar
/bin/mv: cannot move `foo-ln/.' to `bar': Device or resource busy
$ /bin/mv --version
mv (GNU coreutils) 5.93
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Parker, David MacKenzie, and Jim Meyering.
$ /bin/mv foo bar
$


-- 
Thomas Hood


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to