| delorie.com/archives/browse.cgi | search |
| 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 |
| From: | Thorsten Kampe <thorsten AT thorstenkampe DOT de> |
| Subject: | Re: Why I can see windows drives? |
| Date: | Sun, 9 May 2004 10:37:06 +0200 |
| Lines: | 19 |
| Message-ID: | <1lwwn7ficrg2o$.dlg@thorstenkampe.de> |
| References: | <006101c43533$47ad4b00$c3dc3680 AT yupeng> |
| Mime-Version: | 1.0 |
| X-Complaints-To: | usenet AT sea DOT gmane DOT org |
| X-Gmane-NNTP-Posting-Host: | isi-dialin-129-118.isionline-dialin.de |
| User-Agent: | 40tude_Dialog/2.0.10.1de |
* 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |