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: Maybe 1.5 Regression: cp failing while working with cygwin 1.3.22


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

According to Corinna Vinschen on 1/15/2008 7:32 AM:
|> 8808978157900 drwxr-xr-x 1 corinna root 0 Jan 15 14:46 subdir
|> 8808978157900 drwxr-xr-x 1 corinna root 0 Jan 15 14:46 symlink
|> [...]
|> I have no idea why Samba doesn't return the correct i-node number for
|> symlinks.  This is most unfortunate.
|
| Eric, maybe cp(1) can be pushed up a bit by checking the number of
| hardlinks on the file?  Two files with identical i-nodes are only
| actually hardlinks to the same file if the number of links is equal
| and > 1?

I'm not sure how useful that would be.  I already do something similar for
checking whether two spellings represent the same file with different
case, but it adds time and the potential for race conditions.  It seems
like it would be better to work around this samba bug in samba itself, or
in cygwin1.dll so that all cygwin apps will benefit, rather than
special-casing and slowing cp even further.

- --
Don't work too hard, make some time for fun as well!

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

iD8DBQFHjVw784KuGfSFAYARApWyAKC1vsb0XNSlv8K2OoM0r/75UpH6EwCgk6nL
3cLDiqZ8hjalrpHkj7a1Yi8=
=v7YM
-----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]