This is the mail archive of the
mailing list for the Cygwin project.
Re: Newbie mount issue
- To: schwarza at gdls dot com,cygwin at cygwin dot com
- Subject: Re: Newbie mount issue
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- Date: Fri, 01 Dec 2000 11:17:02 -0500
At 11:05 AM 12/1/2000, firstname.lastname@example.org wrote:
>My directory structure is:
> C:\usr\GNAT <== trying to mount
> //c/usr/cygwin / <== root
>That is the cygwin root was installed at it's default location
>which in my configuration is at: C:\usr\cygwin.
>My mount command always fails:
> mount -b C:\usr\GNAT /usr/GNAT
> mount: /usr/GNAT: Invalid argument
>with the following tests:
>  /usr (no GNAT directory in /usr)
>  /usr/GNAT (empty directory in /usr)
>and I don't have the foggiest idea why.
First, because you use single \'s in your example of the mount command you're
issuing, I'm going to assume that you're invoking mount from outside sh/bash.
Further, I'm going to assume that you have paths and such set up so that this
would indeed work. I assume all this because if you were to use this command
as you've typed it here in sh/bash, it wouldn't work without escaping the
\'s. OK, now that this is out of the way, on to your problem!
You're missing the "obvious" but unfortunately, that requires a little
thought to make it so!:-) You state that c:/usr/cygwin is mounted as /.
Further, you state that c:/usr/GNAT exists and is the point you want to
mount to. Then you issue "mount -b C:\usr\GNAT /usr/GNAT" (see the problem
yet?;-)) This won't work because / is c:/usr/cygwin and there is no
/usr/cygwin/usr/GNAT directory. Either move your "/" mount to c: or,
preferably, make a /usr/GNAT directory in c:/usr/cygwin.
Did that clear the fog?
Larry Hall email@example.com
RFK Partners, Inc. http://www.rfk.com
118 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org