delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/01/14:37:50

X-Spam-Check-By: sourceware.org
Message-ID: <442ED686.2010702@byu.net>
Date: Sat, 01 Apr 2006 12:37:42 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: File copying problem
References: <442AA72A DOT 7040107 AT maplesoft DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0603291050360 DOT 28116 AT access1 DOT cims DOT nyu DOT edu> <442AB001 DOT 5080401 AT maplesoft DOT com> <20060330083131 DOT GA29818 AT calimero DOT vinschen DOT de> <442BED82 DOT 5050106 AT maplesoft DOT com> <20060330150641 DOT GI20907 AT calimero DOT vinschen DOT de> <442BF728 DOT 4070801 AT maplesoft DOT com> <20060330153326 DOT GA20407 AT calimero DOT vinschen DOT de> <442D59D9 DOT 3000608 AT maplesoft DOT com>
In-Reply-To: <442D59D9.3000608@maplesoft.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Stefan Vorkoetter on 3/31/2006 9:33 AM:
> 
> Another question then: Why can I successfully use tar to read files from
> the samba file system, and record them into a tar archive on the local
> file system? Is it simply that tar doesn't bother checking whether the
> inode changed?

Yes, the syscall sequences in cp are different than those in tar, as to
whether the utility cares whether the inode is changing in the middle of
the copy.  Personally, I think coreutils' behavior is more correct in the
face of accurate inodes, because it detects if some other process is
modifying the filesystem in parallel with you; but as you found out can be
annoying when dealing with a filesystem that does not have accurate inodes
when no other external modifications are happening.  It comes to a choice
of which battle do you want to fight.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFELtaG84KuGfSFAYARAsGvAJ46n24KlMrT7HrHk5WhPFX4nha1fACfcBDg
GSQxtfh68X4tRrAn+EjGZ0A=
=R7f5
-----END PGP SIGNATURE-----

--
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