This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pathname context

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.

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. ;-)

Doug Wyatt

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:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]