This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why I can see windows drives?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]