This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Changing root path from /ecos-c/ to /


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]