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: <00e401c26677$60d07210$40cf5380@cvis.psy.utexas.edu> From: "Jeff Perry" To: Subject: How does cygwin map / to c:/cygwin? Date: Fri, 27 Sep 2002 17:44:03 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 I am very confused about how cygwin maps its root to the c:/cygwin directory. I'm also not sure what /cygdrive is. When I type gvim /etc/passwd from bash, gvim comes up with an empty file called passwd in c:/etc (which doesn't exist). If I try to write this file, gvim fails, which, of course, it should. (The gvim I'm using is the one compiled for NT). Can someone tell me why this happens? Also, when I try to tab-expand /cygdrive/c/..., bash can never expand the files. For example, if I type $ cd /cygdrive/c/winn, bash cannot complete the 't' and instead beeps. But if I complete it for bash by adding the t and the pressing , bash will cd me to the c:/winnt directory. Can someone tell me why this is true? Jeff -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/