delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/22/09:46:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
Subject: Findutils-4.1.7-4: updatedb skips last top-level directory on disk
Message-Id: <E17Lkz4-0006Vk-00@nautilus.shore.net>
From: "Norman D. Megill" <ndm AT primushost DOT com>
Date: Sat, 22 Jun 2002 09:31:22 -0400

When doing updatedb on the entire system, the last directory on a disk
seems to be skipped.  By "last directory" I mean (apparently) the last
in the alphabetical sorting order of Windows Explorer.

I use "updatedb --localpaths='/cygdrive'" to obtain the file database
for my entire system (C:  and D:  drives).  For each drive, the last
top-level directory has a single entry for the directory itself, but
with no subdirectories and files.  For example, when WINDOWS was the
last directory of the C:  drive, "/cygdrive/c/WINDOWS" was in the
database but nothing else under C:\WINDOWS.  Then I added a directory
"zzztmp" with a few test files, and this time all of the files in
C:\WINDOWS were included, but none of the files in C:\zzztmp, only the
single entry "/cygdrive/c/zzztmp".

A workaround seems to be to place a dummy directory such as "zzzzzzzz"
on each drive.

Other than that, updatedb and locate work great!  No more waiting around
while the animated dog on Windows XP tries to keep you amused.  :)

--Norm

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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