| Bug#479764: shell builtin mv fails to move files across devices |
|
 |
|
 |
|
 |
|
 |
Group: linux.debian.bugs.dist · Group Profile
Author: Peter StephensonPeter Stephenson Date: May 6, 2008 14:20
On Tue, 6 May 2008 17:55:55 +0100
martin f krafft debian.org> wrote:
> also sprach Bart Schaefer brasslantern.com> [2008.05.06.1645 +0100]:
>> I'd rather we didn't. rename(2) is atomic, but there's no
>> reasonable way to make cp+rm be so, and I think it's better if the
>> user is forced to be aware of the issue.
>>
>> Also note that "cp" is (intentionally) NOT one of the commands
>> supplied by the zsh/files module, so changing mv means
>> implementing cp.
>
> What, if I may ask, is the purpose of zsh/files?
Its primary purpose has been as a fallback on a system where the shell
is working but nothing much else is. Hence it provides the limited,
easy-to-implement things you're likely to need to fix what needs
fixing. Moving things between file systems typically isn't something
you need (though in any given case it may be, as well as a whole load of
other stuff the shell doesn't provide).
--
Peter Stephenson ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
|