delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/08/21:54:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <20050409015330.89049.qmail@web20826.mail.yahoo.com>
Date: Fri, 8 Apr 2005 18:53:30 -0700 (PDT)
From: ChrisW <cw94114 AT yahoo DOT com>
Subject: I cannot change cygdrive prefix (yes, checked docs, faq and archives)
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes

Nothing I can change the cygdrive prefix.  I recall
being able to do it before.

# show current mount table:
/> mount
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 (binmode,noumount)
y: on /cygdrive/y type user (binmode,noumount)

# attempt to change mount prefix:
/> mount -s -b --change-cygdrive-prefix /

# verify that it thinks it changed it:
/> mount -m
mount -f -s -b "C:/cygwin/bin" "/usr/bin"
mount -f -s -b "C:/cygwin/lib" "/usr/lib"
mount -f -s -b "C:/cygwin" "/"
mount -s -b --change-cygdrive-prefix "/"

# show current mount table:
/> mount
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 (binmode,noumount)
y: on /cygdrive/y type user (binmode,noumount)

# (see, it's still "cygdrive")
# try anyway:
/> cd /c
bash: cd: /c: No such file or directory

I looked in the registry and verified thare are
no user mounts and that the cygdrive prefix is "/".

I read the doc where it talks about matching the
longest prefix, if there's more then one, but I think
that's only for display.   I absolutely recall being
able to change the prefix to "/" so that my C: drive
was "/c".   Did they change the behavior in later
versions of Cygwin?  Any help to get rid of the
lengthy
"cygdrive" prefix would be greatly appreciated.

thanks,

   -Chris




		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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