X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B3E8B96.4020109@tlinx.org> Date: Fri, 01 Jan 2010 15:56:06 -0800 From: Linda Walsh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 ThunderBrowse/3.2.6.8 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: "cygwin AT cygwin DOT com" Subject: find utils (updatedb) crashes on invalid win symlink X-Stationery: 0.4.10 Content-Type: text/plain; charset=us-ascii; 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 Some time ago, my daily updatedb stopped working and I just got around to figuring out why -- it was dying with (I wish I had the message, but I lost it) an internal error in 'find' which would then exit and updatedb would overwrite the old file with a new empty file. But the place where it died was where, in the root dir, I had a symlinkD pointing to a no-longer existing drive. Used to have a network drive L:, in order for updatedb to index it (reliably), I created a windows symlink to it in root: "l <==> L:". Later the network drive was no longer needed at L and was removed, but the symlink was left behind. find really didn't like that dangling symlink. Removed it (using windows, as cygwin doesn't seem able to remove symlinkD's). I think that thought cygwin understands windows symlinks as symlinks, it doesn't 'grok' the 'symlinkD' type links to directories (that explorer 'needs' to see them as a directory). I'm not sure, but I think symlinkD's are real directories with a file in them that points to the target. -linda -- 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