delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/21/19:39:15

X-Spam-Check-By: sourceware.org
Message-ID: <453AAF44.4040201@666.com>
Date: Sat, 21 Oct 2006 18:37:40 -0500
From: Ben Wing <ben AT 666 DOT com>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: questions about excessive disk usage when doing tab completion
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

I am using zsh on the latest cygwin and the first time I load it up and 
try to do tab completion on e.g. /mnt/g/download/<TAB>, it spends an 
inordinate amount of time grinding the disk -- sometimes on the order of 
2 minutes or more.  the directory contains only 8 subdirs:

/ben/ut/os-fall-2006 18:25 2012% ls -l /mnt/g/download
total 0
drwxrwxrwx+   6 Ben None 0 Oct 21 16:59 cygwin/
drwxrwxrwx+   3 Ben None 0 Oct 20 15:57 emule/
drwxrwxrwx+   3 Ben None 0 Oct 21 18:26 emule-incomplete/
drwxrwxrwx+  33 Ben None 0 Oct 12 04:22 useful books/
drwxrwxrwx+ 160 Ben None 0 Oct 16 11:03 utorrent/
drwxrwxrwx+  19 Ben None 0 Oct 16 11:03 utorrent-incomplete/
drwxrwxrwx+   2 Ben None 0 Oct 16 11:03 utorrent-torrents/
drwxrwxrwx+   2 Ben None 0 Oct 16 11:03 utorrent-torrents-incomplete/


granted, the subdirs have a lot in them; evidently it's grinding its way 
through all of the subdirs.  but why?  anyone seen this before?  it does 
not seem to be specific to zsh, as i'm almost positive i've seen similar 
behavior under bash.  it consistently happens when your machine has just 
been rebooted or its file cache is otherwise empty, but not easily 
repeatable otherwise.

ben

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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