delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/28/16:45:41

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
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A7492EE.6C41DA3A@yahoo.com>
Date: Sun, 28 Jan 2001 16:45:18 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: s_c_biggs AT bigfoot DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: Mount weirdness... (or operator error :)
References: <3A741C99 DOT 14098 DOT 2ED617 AT localhost>

"Stephen C. Biggs" wrote:
> 
> I have read all the relevant FAQs but can't figure this one out...
> 
> I have my cygwin installation mounted as binary.
> 
> from a dosprompt:
> <cygdrive>:\cygwin>bin\mount
> Device              Directory           Type         Flags
> <cygdrive>:\cygwin\bin       /usr/bin            system       binmode
> <cygdrive>:\cygwin\lib       /usr/lib            system       binmode
> <cygdrive>:\cygwin           /                   system       binmode
> 
> Straight vanilla cygwin.
> 
> Then I do:
> <cygdrive>:\cygwin>md dossrc
> <cygdrive>:\cygwin>bin\mount -t -s usr\local\src\gcc ./dossrc
> bin/mount: ./dossrc: Invalid argument
> 
> Is it possible to do what I want to do here?  Is it that I am trying to
> remount an already binary mounted subdirectory as text mode??
> 
> What is the invalid argument?  Is it a permission problem?
> 

It's obvious you don't understand the mount protocol.  Just guessing
here, you want a mounted directory /usr/local/src/gcc, correct?  You
want the physical directory to be c:/cygwin/dossrc.

You would need to (Note I'm working in bash)
  mkdir -p /usr/local/src/gcc
  mount -t -s c:/cygwin/dossrc /usr/local/src/gcc

Earnie.

P.S.:  cygdrive is a pseudo mount point that is provided as a means to
easily reference the unmounted drives.  It isn't a reference to the
drive letter itself.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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