1.1.7:mount and ls problem

Larry Hall (RFK Partners, Inc) lhall@rfk.com
Tue Jan 23 17:35:00 GMT 2001

At 07:46 PM 1/23/2001, L Anderson wrote:
>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.
>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
>So where is f hiding except in the mount table?
>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?

Neither.  Its a misuse.  If you don't create the directory to mount to,
mount only warns you but you should read that warning as an indication 
that you may see problems when you use this mount point.

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

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

More information about the Cygwin mailing list