From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13742 invoked from network); 6 May 2008 15:03:16 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 6 May 2008 15:03:16 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 61148 invoked from network); 6 May 2008 15:03:13 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 6 May 2008 15:03:13 -0000 Received: (qmail 23997 invoked by alias); 6 May 2008 15:03:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24945 Received: (qmail 23977 invoked from network); 6 May 2008 15:03:11 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 6 May 2008 15:03:11 -0000 Received: from cork.scru.org (cork.scru.org [80.68.89.82]) by bifrost.dotsrc.org (Postfix) with ESMTP id E7ECB80ED172 for ; Tue, 6 May 2008 17:03:04 +0200 (CEST) Received: by cork.scru.org (Postfix, from userid 1000) id A58F118129; Tue, 6 May 2008 16:03:03 +0100 (BST) Date: Tue, 6 May 2008 16:03:03 +0100 From: Clint Adams To: zsh-workers@sunsite.dk Cc: martin f krafft , 479764@bugs.debian.org Subject: Re: Bug#479764: shell builtin mv fails to move files across devices Message-ID: <20080506150303.GB31177@scru.org> Mail-Followup-To: zsh-workers@sunsite.dk, martin f krafft , 479764@bugs.debian.org References: <20080506144208.GA15225@lapse.madduck.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080506144208.GA15225@lapse.madduck.net> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: ClamAV 0.91.2/7040/Tue May 6 03:52:15 2008 on bifrost X-Virus-Status: Clean On Tue, May 06, 2008 at 03:42:08PM +0100, martin f krafft wrote: > lapse:~/debian|master|debian.ch% echo $ZSH_VERSION > 4.3.6-dev-0+0428 > lapse:~/debian|master|debian.ch% zmodload zsh/files > lapse:~/debian|master|debian.ch% which mv > mv: shell built-in command > lapse:~/debian|master|debian.ch% mv /tmp/debian.ch_T-Shirt_20080422-poll.png . > mv: /tmp/debian.ch_T-Shirt_20080422-poll.png: invalid cross-device link Anyone up for changing this in a future version? Note that this mv will not move files across devices. Historical versions of mv, when actual renaming is impossible, fall back on copying and removing files; if this behaviour is desired, use cp and rm manually. This may change in a future version.