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 Message-ID: <409D3827.65320B78@dessent.net> Date: Sat, 08 May 2004 12:42:31 -0700 From: Brian Dessent 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/