delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/07/07:49:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <d20c27ec0808070438rfcef6d7o36a1a5425244d552@mail.gmail.com>
Date: Thu, 7 Aug 2008 14:38:30 +0300
From: "Stanislav Petrovsky" <stasptr AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: mv & hardlinks to the same .exe file problem
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello.

looks like mv cannot move second hardlink to the same .exe file in
single command:

> mv --version
mv (GNU coreutils) 6.10

>mkdir testdir1
>echo test > file1.exe
>ln file1.exe file2.exe
>mv file1 file2 testdir1
mv: cannot remove `file2': No such file or directory

The same mv command with full file names works correctly
>mv file1.exe file2.exe testdir1

as .exe adding is a cygwin feature - issue posted here.

I found similar, but very old issue in web:
http://www.mail-archive.com/bug-fileutils AT gnu DOT org/msg00221.html
( the same issue, but w/o .exe )

--Stas

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019