delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/03/05:25:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Doug Wyatt" <dwyatt AT sunflower DOT com>
To: cygwin AT cygwin DOT com
Date: Sat, 3 Aug 2002 04:24:15 -0500
MIME-Version: 1.0
Subject: Re: Pathname context
Reply-to: dwyatt AT sunflower DOT com
Message-ID: <3D4B5AEF.32421.3651B0CF@localhost>

Yesterday morning I posted a query about 'ls' seeing /usr/lib as a
proper Cygwin directory using one pathname and as a DOS/Windows
directory (absent the mounted /lib contents) with what I thought was
an equivalent pathname.  Perhaps it was overlooked in all the P.D.
hoopla.

To add to what I posted before, the first command below shows the
appropriate contents of /usr/lib; the second shows what Windows
Explorer sees in D:\cygwin-v11x\usr\lib.  The same behavior holds
for the other mounted dirs, except for /d/cygwin-v11x/.

This looks like a bug.

Is this expected behavior?  If different behaviors were to be expected,
I'd think the different results would be the inverse. ;-)

Regards,
Doug Wyatt

Examples:
55# ls -la d:/cygwin-v11x/usr/lib | head
total 68583
drwxr-xr-x   23 544      None        36864 Jul 31 08:47 .
drwxrwxr-x   22 User  None         4096 Jul 31 08:46 ..
drwxr-xr-x    5 544      None            0 May  3 12:50 X11
drwxr-xr-x    3 544      None            0 Jun 20 06:07 apache
-rwxr-xr-x    1 544      None          478 Jul  6 01:19 automode.o
-rwxr-xr-x    1 544      None          375 Jul  6 01:19 binmode.o
-rwxr-xr-x    1 544      None          193 Jun 24 00:17 charset.alias
-rwxr-xr-x    1 544      None          499 Jul  6 01:19 crt0.o
drwxr-xr-x    3 544      None            0 Nov  5  2000 cvs

56# ls -la /d/cygwin-v11x/usr/lib  | head
total 4
drwxr-xr-x    3 544      None            0 Sep  3  2000 .
drwxrwxr-x   22 User   None         4096 Jul 31 08:46 ..
drwxr-xr-x    2 544      None            0 Sep  3  2000 test    ( Visible in Windows Explorer,
                                                                                        but not in a full listing like
                                                                                        the 'ls' on line 55, because
                                                                                        /lib is mounted 'over' it )

57# mount
D:\cygwin-v11x\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system (binmode)
D:\cygwin-v11x\bin on /usr/bin type system (binmode)
D:\cygwin-v11x\lib on /usr/lib type system (binmode)
D:\cygwin-v11x on / type system (binmode)
c: on /c type system (textmode)
d: on /d type system (textmode)
e: on /e type system (textmode)
f: on /f type system (textmode)
j: on /j type system (binmode)
k: on /k type system (textmode)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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