delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/28/23:19:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-Id: <4CF3C45C02000052000170C8@groupwise.swin.edu.au>
Date: Mon, 29 Nov 2010 15:18:52 +1100
From: "Nathan Rose" <NROSE AT groupwise DOT swin DOT edu DOT au>
To: <cygwin AT cygwin DOT com>
Subject: File paths redirected to MSYS directory
Mime-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I have just installed Cygwin on my WinXP box for the first time. I already =
had MSYS installed. They are installed in the directories C:\cygwin and C:\=
msys respectively.
=20
Simple file operations like cp or mv work fine within Cygwin . However, whe=
n I try to open a file with vi, it opens the equivalent file in the MSYS di=
rectory. For instance, the command 'vi /etc/fstab' will open the file 'C:\m=
sys\1.0\etc\fstab' instead of 'C:\cygwin\etc\fstab'. Similarly, running mak=
e failed at one point with the error "bash.exe: warning: could not find /tm=
p, please create!" despite the directory 'C:\cygwin\tmp' existing (whereas =
the equivalent in MSYS does not exist).

I thought this might have something to do with mount points. The list from =
df -h is as follows, but nothing looks wrong to me.

Filesystem            Size  Used Avail Use% Mounted on
C:/cygwin/bin          75G   23G   52G  31% /usr/bin
C:/cygwin/lib          75G   23G   52G  31% /usr/lib
C:/cygwin              75G   23G   52G  31% /
C:                     75G   23G   52G  31% /cygdrive/c
G:                    2.0T  1.1T  946G  53% /cygdrive/g
H:                    2.0T  616G  1.4T  31% /cygdrive/h
N:                    599G  347G  253G  58% /cygdrive/n
O:                    300G  147G  153G  50% /cygdrive/o
P:                    599G  347G  253G  58% /cygdrive/p
Q:                    300G  147G  153G  50% /cygdrive/q
T:                    499G  104G  396G  21% /cygdrive/t
Y:                    599G  347G  253G  58% /cygdrive/y
Z:                    599G  347G  253G  58% /cygdrive/z

=20
Where is this path set and how can I get Cygwin to look in the right place =
for my files?
=20
Thanks,
=20
Nathan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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