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 Date: Tue, 12 Dec 2000 14:01:41 -0500 From: "John F. Davis" To: cygwin AT cygwin DOT com Subject: Re: tar a filesystem outside of /cygwin Message-ID: <20001212140141.A13347@skink.net> References: <20001212173519 DOT 8549 DOT qmail AT web112 DOT yahoomail DOT com> <20001212173519 DOT 8549 DOT qmail AT web112 DOT yahoomail DOT com> <20001212133037 DOT A13142 AT skink DOT net> <4 DOT 3 DOT 1 DOT 2 DOT 20001212133450 DOT 02457068 AT pop DOT ma DOT ultranet DOT com> <20001212135758 DOT A4767 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <20001212135758.A4767@redhat.com>; from cgf@redhat.com on Tue, Dec 12, 2000 at 01:57:58PM -0500 On Tue, Dec 12, 2000 at 01:57:58PM -0500, Christopher Faylor wrote: > On Tue, Dec 12, 2000 at 01:38:35PM -0500, Larry Hall (RFK Partners, Inc) wrote: > >At 01:30 PM 12/12/2000, John F. Davis wrote: > >>Any particular reason why I can't mount a filesystem in /home? > >>i.e., cd /home/davis > >>mkdir progs > >>mount c:/progs /progs > >>The mount says, "mount: progs: Invalid argument > > > >The directory you mount to must exist where you tell mount it is. In your > >example, unless "/" == "/home/davis", you don't have a progs where you're > >telling mount you do. That'd be the problem... > > Actually, after digging around in the code, it looks like the most > likely scenario in which you'd get an "Invalid argument" is if you > typed something like: > > mount c:/progs progs > ^ > no leading slash > > If you don't specify an absolute path, mount will complain. Yeap. I said mount c:/progs /progs. I meant mount c:/progs progs. Also, progs was not already mounted. So, your look at the source confirmed it. My hat is off to you. Thanks. John > > It is not necessary for either of mounts arguments to exist, but they > have to be fully qualified windows and unix paths respectively. > > So, when I suggested that the directory was already mounted, I was wrong. > And, the inference that the directory has to exist is also wrong. > > What you want to do in the above scenario is: > > mount c:\whereever\home\really\is\home\davis\progs /progs > > cgf > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- We host web sites: http://www.skink.net buy my stuff: http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons&userid=davis AT skink DOT net -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com