Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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)" Subject: Re: Newbie mount issue In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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