X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,TW_LR,TW_NP,TW_RW,TW_WX,TW_XR,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4F6FB87E.8050109@tlinx.org> Date: Sun, 25 Mar 2012 17:29:50 -0700 From: Linda Walsh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: Ilya Basin , "cygwin AT cygwin DOT com" Subject: Re: du crashes if .lnk symlink and a folder it points to are named the same, differing only in letter case References: <304827643 DOT 20120325123534 AT gmail DOT com> In-Reply-To: <304827643.20120325123534@gmail.com> 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 Ilya Basin wrote: > I needed that because one git repository has branches named > "Epam/a" and "epam/b", and git was always creating the "missing" epam > directory at fetch. > > $ ls -l > total 0 > drwxr-xr-x+ 1 adminpwd None 0 Mar 25 11:42 Epam > drwxr-xr-x+ 1 adminpwd None 0 Mar 25 11:42 epam > > why no " -> Epam" part? 'ls' behaves funny too, but at least it > doesn't crash. > > > $ ls -l epam.lnk > lrwxrwxrwx 1 Users None 4 Mar 13 16:43 epam.lnk -> Epam > > $ du . > 0 ./Epam > Aborted (core dumped) ===== You might try setting going into system properties, advanced, Environment Variables and creating an entry (or adding to the original if there is one there already) for CYGWIN. Entries to have in it:\ winsymlinks export #(+opt) [nodosfilewarning] I have a feeling you are seeing probs related to the cygwin hard link emulation which can by turned off by telling it to use winsymlinks (export tells it to export the value to children processes -- nodosfilewarning lowers clutter -- especially when you have domain names. (and have references to paths with 'domain\\user/xxyz' in them). -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple