Why I can see windows drives?
Thorsten Kampe
thorsten@thorstenkampe.de
Sun May 9 15:14:00 GMT 2004
* 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/
More information about the Cygwin
mailing list