This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Mount weirdness... (or operator error :)
- To: s_c_biggs at bigfoot dot com
- Subject: Re: Mount weirdness... (or operator error :)
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Sun, 28 Jan 2001 16:45:18 -0500
- CC: cygwin at cygwin dot com
- References: <3A741C99.14098.2ED617@localhost>
- Reply-To: Earnie Boyd <cygwin at cygwin dot com>
"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