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. Simple file operations like cp or mv work fine within Cygwin . However, when I try to open a file with vi, it opens the equivalent file in the MSYS directory. For instance, the command 'vi /etc/fstab' will open the file 'C:\msys\1.0\etc\fstab' instead of 'C:\cygwin\etc\fstab'. Similarly, running make failed at one point with the error "bash.exe: warning: could not find /tmp, 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 Where is this path set and how can I get Cygwin to look in the right place for my files? Thanks, 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