Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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/