X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.0 c=1 a=iratezkpaTgA:10 a=xe8BsctaAAAA:8 a=u0FUvT9TxJxP6O4Nj7AA:9 a=MQY_pzqU9h0j3zx-6HBhRCa3BI4A:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10 Message-ID: <478D5C3B.7030207@byu.net> Date: Tue, 15 Jan 2008 18:22:03 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Maybe 1.5 Regression: cp failing while working with cygwin 1.3.22 References: <478CA52E DOT 8050609 AT onevision DOT de> <20080115140340 DOT GF5097 AT calimero DOT vinschen DOT de> <20080115143243 DOT GG5097 AT calimero DOT vinschen DOT de> In-Reply-To: <20080115143243.GG5097@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 AT byu DOT 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/