From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28053 invoked by alias); 11 Feb 2016 18:34:06 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 28029 invoked by uid 89); 11 Feb 2016 18:34:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Everything, Engine, Hx-languages-length:1379, H*f:sk:56BCD05 X-HELO: sender153-mail.zoho.com Received: from sender153-mail.zoho.com (HELO sender153-mail.zoho.com) (74.201.84.153) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 11 Feb 2016 18:34:03 +0000 Received: from [192.168.11.171] (rrcs-98-103-118-100.central.biz.rr.com [98.103.118.100]) by mx.zohomail.com with SMTPS id 1455215638696399.49609340048573; Thu, 11 Feb 2016 10:33:58 -0800 (PST) Subject: Re: locate and updatedb To: cygwin@cygwin.com References: <56BC940F.6070109@zoho.com> <56BCD05C.2040409@gmail.com> From: Byron Boulton Message-ID: <56BCD414.2010304@zoho.com> Date: Thu, 11 Feb 2016 18:34:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56BCD05C.2040409@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Zoho-Virus-Status: 1 X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00165.txt.bz2 On 2/11/2016 1:18 PM, cyg Simple wrote: > On 2/11/2016 9:00 AM, Byron Boulton wrote: >> Does anyone here have success using `updatedb` and `locate` in cygwin? I >> use `locate` heavily on my Linux machines, but everytime I've tried to >> run `updatedb` on cygwin I've given up and killed the process because it >> is taking too long. Is there something wrong with cygwin's >> implementation of `updatedb` making it not work at all or making it >> slower that on my Linux machines? Or are there others who have success >> using it on cygwin? > > Processing every file on the drive will be slow just because it's > Windows. Initializing the database with updatedb will require a large > amount of time. There are processes such as AntiVirus intrusion > protection that might make it even slower. > Hmmm, the reason the slowness is particuarly strange to me is that in place of using `locate` from my cygwin terminal, I have to use a program called "Everything Search Engine" available at www.voidtools.com. The first time I install it, it takes maybe a few minutes to index the hard drive, then every once in a while when I open the program it takes a few seconds to update the index, but in general the performance for indexing and searching the index if comparable to `updatedb` and `locate` on a Linux machine, so it's possible to do on Windows. Byron -- 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