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/