delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/08/15:42:50

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
Message-ID: <409D3827.65320B78@dessent.net>
Date: Sat, 08 May 2004 12:42:31 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Why I can see windows drives?
References: <006101c43533$47ad4b00$c3dc3680 AT yupeng>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Peng Yu wrote:

> 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?

/cygdrive is a mount point, it's not a directory.  It won't be shown in
ls, and find won't traverse it because there's no directory entry for it
in '/'.  If you wish to change this then you need to create a directory
entry to correspond to the mount point, e.g. "mkdir /cygdrive".

Brian

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019