X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B7BCD0F.4000004@bonhard.uklinux.net>
Date: Wed, 17 Feb 2010 11:03:43 +0000
From: Fergus <fergus@bonhard.uklinux.net>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Cygwin ML <cygwin@cygwin.com>
CC: Fergus <fergus@bonhard.uklinux.net>
Subject: Have set mount --change-cygdrive-prefix "/" : now getting tripped  up by hardwired /cygdrive/
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On my system I've changed the cygdrive path prefix by setting
    mount -c "/"
(and have done this for years). I've just tried using dvipdf which 
appears to have a hardwired requirement to locate a temporary file under 
/cygdrive/c/.. and so I'm getting an error message
****Could not open ..
and indeed (for example) ls -al /cygdrive/c generates similarly an error 
message
cannot access ..
while ls-al /c does not (of course).

I'm perplexed because (a) there must be lots of examples of hardwired 
/cygdrive/ lying around in Cygwin (yes?) and because (b) I'm moderately 
certain that in the past I have deliberately used this prefix  (even 
after setting mount -c "/") and Cygwin "knows what I mean". (Actually 
I'm sure I've used dvipdf and not too long ago.) That is, I dimly 
thought mount -c "/" enabled the shorthand without disabling the 
longhand. (Though I've just looked back at my version of 1.5.25 and this 
sequence leads to identical errors.)

Is there a way I can change the cygdrive path prefix as described, but 
keep /cygdrive/ understood?

Fergus


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

