delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/18/01:57:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
User-Agent: Microsoft-Entourage/10.0.0.1309
Date: Thu, 17 Jul 2003 22:57:25 -0700
Subject: Cygdrive Path Prefix Question
From: Kenny Carruthers <cygwin AT kennyc DOT com>
To: <cygwin AT cygwin DOT com>
Message-ID: <BB3CDA55.7F0B%cygwin@kennyc.com>
In-Reply-To: <1058507287.25646.ezmlm@cygwin.com>
Mime-version: 1.0

Hi,

I've been looking throughout the documentation and FAQ's but I still can't
figure this one out. This is running against the latest cygwin version
(updated using setup.exe from the website).

My drive mounts are pretty much standard and look like this:

C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (textmode,noumount)

When I launch an instance of cygwin, my present working directory is my home
directory as expected. The problem is the following:

When I type "cd c:/", then "pwd", the result is "/cygdrive/c" however when a
co-worker of mine types that same "cd c:/" command his working directory is
echoed back as "c:\". I'm trying to figure out how to get cygwin to echo
back Win32 paths instead of POSIX style paths. (co-worker doesn't know how
he did it.). 

I want Win32 style paths because I'm using perforce from both a Windows
environment and a cygwin environment and the root for my perforce client is
"c:\devel". I can't use perforce instead cygwin because when cygwin echoes
back the POSIX style path then perforce can't figure out the mapping. (And I
unfortunately can't use Perforce's 'AltRoot' because the server version we
have doesn't support it.)

So just wondering if someone can tell me how I configure cygwin to echo back
Win32 style paths instead of POSIX style paths for the current working
directory.

Thanks so much...
Kenny


--
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/

- Raw text -


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