This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Why I can see windows drives?
- From: Thorsten Kampe <thorsten at thorstenkampe dot de>
- To: cygwin at cygwin dot com
- Date: Sun, 9 May 2004 10:37:06 +0200
- Subject: Re: Why I can see windows drives?
- References: <006101c43533$47ad4b00$c3dc3680@yupeng>
* Peng Yu (2004-05-08 21:33 +0100)
> When I run "df", I got.
> [...]
>
> When I run "ls -a /", I can see the directory cygdrive.
>
> BTW, when I run "locate abc", it only searchs with the directory of cygwin.
> How can I make it search all the harddrives on my computer?
Additional to Brian Dessent's reply I want to state that creating a
directory is not sufficient. updatedb searches unreliably under
/cygdrive; you may get an error like "find: foo changed during
execution".
To avoid updatedb searching in / and in /cygdrive (and to avoid locate
giving examples twice) make yourself an alias like:
'nice -n 19 updatedb --prunepaths="/cygdrive /cygdrive/c/cygwin" --localpaths="/ /cygdrive/c" 2> /dev/null'
Thorsten
--
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/