Why I can see windows drives?
Brian Dessent
brian@dessent.net
Sat May 8 21:18:00 GMT 2004
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/
More information about the Cygwin
mailing list