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]

Pathname context - beyond text & binary?


I've done my best to search the list archives but if this issue has
been discussed, I was unable to find the topic.

Can anyone explain the following difference in 'ls' output?

# cd /d/cygwin-v11x
# ls usr/lib

# cd d:/cygwin-v11x
# ls usr/lib
X11               libcharset.dll.a             libguile.a         ""         ""
apache                 libguile.dll.a    ""         ""
automode.o   libcrypt.a                    ""        ""
""                   ""                                 ""                   ""         ""
""                   ""                                 ""                   ""         ""

Note that I created a 'test' directory in D:\cygwin-v11x\usr\lib, using
Windows Explorer, to serve as a 'landmark'.  As would be expected,
the 'test' dir does not appear in the second listing.

My mount table looks like this:

# 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)
h: on /cygdrive/h type user (binmode,noumount)

D: is an NTFS drive (excerpt from cygcheck):
d:  hd  NTFS    4094Mb  94% CP CS UN PA FC     IDE-0102

CYGWIN = `tty title ntsec'

Cygwin and other packages are reasonable current:
    Cygwin DLL version info:
        DLL version: 1.3.12
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 54
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Sat Jul 6 02:16:58 EDT 2002
        CVS tag: cygwin-1-3-12-1
        Shared id: cygwin1S3

Doug Wyatt

Unsubscribe info:
Bug reporting:

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