delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/23/21:32:17

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: <3A6E3D52.A697CA49@yahoo.com>
Date: Tue, 23 Jan 2001 21:26:26 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: cygwin <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.171 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: L Anderson <lowella AT mvseac DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: 1.1.7:mount and ls problem
References: <3A6E25E8 DOT 63091A22 AT mvseac DOT com>

L Anderson wrote:

> Hi,
>
> Being new to Cygwin, I searched the faq and mail archives but could find
> no answer to my question.  An answer would be appreciated.
>
> I'm running Win98 and Cygwin 1.1.7.
>
> I have drives ... e:, f:, g: ... on win98.  I installed cygwin on g:.  I
> fire up cygwin and do:
>         cd /
>         mkdir e
>         mount e: /e
> All is well -- e shows up in both an ls ( as e) and mount (as e:  /e).
>
> Now I do:
>         mount f: /f
> I get the error:
>         mount: warning - /f does not exist
> but mount shows
>         f:   f/ . . .
> and ls doesn't show f.

Note: it says warning, it doesn't say error.  The non-list would be the
reason for the warning.  IMO, it's probably time to make it an error.

>
>
> If I do an ls f, all the files under f:'s root are listed.

>
> If I do mkdir f, I get:
>         mkdir: cannot make directory `f': File exists
>

Yes, another reason for the warning.  You can either umount /f and then do
the  mkdir /f and mount f:/ /f or you can mkdir /cygdrive/c/cygwin/f
assuming / is pointed at c:/cygwin

>
> So where is f hiding except in the mount table?
>

The mount table, in the windows registry.

>
> Why does f seem to work like any other directory (I can cd to it or its
> subdirs and ls their contents) but not show up in an ls at the root?
>
> Is this a bug or a feature?
>

It's a feature with old history.

Earnie.


_________________________________________________________
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