delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/08/18:01:42

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.0.14.0.20050208175244.02f60c78@pop.prospeed.net>
Date: Tue, 08 Feb 2005 17:54:31 -0500
To: Bruce Hampton <bruce DOT hampton AT gmail DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: Changing root path from /ecos-c/ to /
In-Reply-To: <loom.20050207T061843-558@post.gmane.org>
References: <loom DOT 20050207T061843-558 AT post DOT gmane DOT org>
Mime-Version: 1.0

At 12:20 AM 2/7/2005, you wrote:
>Hi,
>
>I'm using Cygwin. I wish to change the default path for C: from /ecos-c/ to /.
>
>When I type "mount" in cygwin, I get the following:
>
>C:\PFARM\cygwin on / type system (binmode)
>c: on /ecos-c type user (textmode)
>c: on / type user (textmode)
>e: on /cygdrive/e type user (textmode,noumount)
>f: on /cygdrive/f type user (textmode,noumount)
>h: on /cygdrive/h type user (textmode,noumount)
>i: on /cygdrive/i type user (textmode,noumount)
>
>C:\PFARM\examples\EVBA7Board\GNU\Simple\RAMCode>
>
>The utility I'm using fails unless C: on the Windows box is mounted as '/'.
>
>Any suggestions?
>
>Shane.
>
>p.s.
>
>"Whenever Cygwin generates a POSIX path from a Win32 one, it uses the longest 
>matching prefix in the mount table. Thus, if C: is mounted as /c and also 
>as /, then Cygwin would translate C:/foo/bar to /c/foo/bar."
>
>(http://www.cygwin.com/cygwin-ug-net/using.html#mount-table)


Seems like you're answering your own question. Try 'umount -f /ecos-c'.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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