delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/17/06:04:05

X-Recipient: archive-cygwin AT delorie DOT 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 AT bonhard DOT uklinux DOT net>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Cygwin ML <cygwin AT cygwin DOT com>
CC: Fergus <fergus AT bonhard DOT uklinux DOT net>
Subject: Have set mount --change-cygdrive-prefix "/" : now getting tripped up by hardwired /cygdrive/
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

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

- Raw text -


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