www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Matthew Woehlke <mw_triad AT users DOT sourceforge DOT net> |
Subject: | ar 'unable to rename... Invalid cross-device link' |
Date: | Tue, 06 Feb 2007 16:38:37 -0600 |
Lines: | 21 |
Message-ID: | <eqb01e$rr2$1@sea.gmane.org> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061206 Thunderbird/1.5.0.9 Mnenhy/0.7.4.0 |
X-IsSubscribed: | yes |
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 |
...anyone have any guesses why rename() can't rename files in the same directory, if the directory is an NFS mount? This causes 'ar' to fail with the error: ar: unable to rename 'libcloudobj.a' reason: Invalid cross-device link I see this in strace with both 'ar' and 'mv': 46 371094 [main] ar 2588 rename: -1 = rename (h:\<...path...>\src\objects\stWBl4pj, h:\<...path...>\src\objects\libcloudobj.a) This seems to happen when the file already exists, but rename() only fails on NFS mounts (not local drives). Is this a problem with 'ar', or Cygwin's rename()? -- Matthew HIPPOS feel unacknowledged. HIPPOS get angry. > PRAISE HIPPOS HIPPOS seem somewhat placated. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |