This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: File copying problem


-----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@byu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]