delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/01/11:27:15

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20001201110728.020e1a28@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Fri, 01 Dec 2000 11:17:02 -0500
To: schwarza AT gdls DOT com, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Newbie mount issue
In-Reply-To: <OF6E19E1DC.C501F9F9-ON852569A8.0057C537@gdls.com>
Mime-Version: 1.0

At 11:05 AM 12/1/2000, schwarza AT gdls DOT com 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:
>     [1] /usr        (no GNAT directory in /usr)
>     [2] /usr/GNAT   (empty directory in /usr)
>
>and I don't have the foggiest idea why.
>
>Any help?
>
>art


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                              lhall AT rfk DOT 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 cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019