public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "John F. Davis" <davis@skink.net>
To: cygwin@cygwin.com
Subject: Re: tar a filesystem outside of /cygwin
Date: Tue, 12 Dec 2000 11:02:00 -0000	[thread overview]
Message-ID: <20001212140141.A13347@skink.net> (raw)
In-Reply-To: <20001212135758.A4767@redhat.com>

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@sourceware.cygnus.com

-- 
We host web sites: http://www.skink.net
buy my stuff:
http://cgi6.ebay.com/aw-cgi/ebayISAPI.dll?ViewListedItemsLinkButtons&userid=davis@skink.net

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

  reply	other threads:[~2000-12-12 11:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-12  9:35 Earnie Boyd
2000-12-12 10:31 ` John F. Davis
2000-12-12 10:39   ` Christopher Faylor
2000-12-12 10:41   ` Larry Hall (RFK Partners, Inc)
2000-12-12 10:58     ` Christopher Faylor
2000-12-12 11:02       ` John F. Davis [this message]
2000-12-12 11:43       ` Gerrit P. Haase
     [not found]         ` <20001212144941.A13469@skink.net>
2000-12-12 12:36           ` Gerrit P. Haase
2000-12-12 12:58         ` Christopher Faylor
2000-12-12 22:52           ` Gerrit P. Haase
2000-12-13  6:48             ` Christopher Faylor
2000-12-13 12:30               ` Gerrit P. Haase
2000-12-13 13:52               ` J. J. Farrell
2000-12-13 14:05                 ` Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2000-12-13  5:49 Earnie Boyd
2000-12-12 10:45 Earnie Boyd
2000-12-12  9:16 John F. Davis
2000-12-12  9:30 ` Larry Hall (RFK Partners, Inc)
2000-12-12  9:53   ` David Starks-Browning

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001212140141.A13347@skink.net \
    --to=davis@skink.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).