delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/02/11/13:34:26

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Z7hqBBx24hrYImDN
uFF6GaZgpybfmU9HRP4Uw/RvGaKWquptvuGcEi9md4Z4kZo1jtBjooLou2fLtZGf
KH6ATt1mAgu/WXnxN6WpV74KvINPXmU8xMycg5WoVkfmXaIWejgclFUyo5X5ldb1
TctfIVsmbO8uIRTHYxVDIPDXOes=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=fQsN3281beETodtSq4BYQp
yY8dk=; b=xN5LY2BvIkjq9jEIwwQCdDYXqZPKb1i2mnA0A/cyfSIHRIYmv+F2Zg
HdnMtGyA/P9EiFoKLOVEzG8DEKERnd4JHwTRC+XntagiK8+gbino6lAY4eq9MwHl
ZVGDHufQpG0M9suDgxfzQMOXl83XXF0s9qaHOUzeoLA0TRulHdOpE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
Subject: Re: locate and updatedb
To: cygwin AT cygwin DOT com
References: <56BC940F DOT 6070109 AT zoho DOT com> <56BCD05C DOT 2040409 AT gmail DOT com>
From: Byron Boulton <daytonb AT zoho DOT com>
Message-ID: <56BCD414.2010304@zoho.com>
Date: Thu, 11 Feb 2016 13:33:56 -0500
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>
X-Zoho-Virus-Status: 1
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019