delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/08/19:15:25

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: <420955B3.60004@designrem.com>
Date: Wed, 09 Feb 2005 13:13:39 +1300
From: Shane Tolmie <shanetolmie AT designrem DOT com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: Changing root path from /ecos-c/ to /
References: <loom DOT 20050207T061843-558 AT post DOT gmane DOT org> <6 DOT 2 DOT 0 DOT 14 DOT 0 DOT 20050208175244 DOT 02f60c78 AT pop DOT prospeed DOT net>
In-Reply-To: <6.2.0.14.0.20050208175244.02f60c78@pop.prospeed.net>

Hi Larry,

Well, I wish it were that simple. That command doesnt work - it needs 
the Win32 file system to basic utilities like ls, etc.

When eCos is installed, it somehow makes c: mount on /ecos-c, it 
previously was /. We're trying to find a way to put it back.

Shane.

Larry Hall wrote:

>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