This is the mail archive of the cygwin@cygwin.com 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]

find command


Just curious if anyone else has run into this problem? All
the OS and Cygwin info is in the cygcheck -s below.

cd C:/

root@BASEIMAGE C:/
$ find

The normal directories like Program Files and Documents and
Settings will expand, WINNT will not. Here is a small
snippet from the end of the find command.

./Program Files/WindowsUpdate/oeminfo.bin
./Program Files/WindowsUpdate/OSDET.dll
./Program Files/WindowsUpdate/OSDET.N5X
./Program Files/WindowsUpdate/wudetect.bin
./Program Files/WindowsUpdate/wudetect.dll
./Program Files/WindowsUpdate/wuhistv3.log
./WINNT

All the directories under /cygdrive or C:/ will expand
except for the WINNT directory. If you do a "find WINNT", it
will expand.

The reason this came up, is because I believe rsync is
trying to use the same method that find uses to search
directories and won't expand WINNT. I ended up having to
mount the WINNT directory under /mnt/WINNT which would
expand when I used find from /.

Here is a cygcheck -s if you need it.
$ cygcheck -s

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Thu May  3 16:04:57 2001

WinNT Ver 5.0 build 2195 Service Pack 1

Path:   /usr/local/bin
        /usr/bin
        /bin
        /mnt/WINNT/system32
        /mnt/WINNT
        /mnt/WINNT/System32/Wbem
        /usr/bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

PWD = `/home/root'
USER = `root'
MAKE_MODE = `unix'
HOME = `/home/root'

Use `-r' to scan registry

a:  fd           N/A    N/A
c:  hd  NTFS   19085Mb   7% CP CS UN PA FC     System
d:  cd           N/A    N/A

c:\Documents and Settings\Administrator  /mnt/Administrator
user    textmode
c:\Documents and Settings\Default User  /mnt/Default_User
user    textmode
c:\Documents and Settings\All Users  /mnt/All_Users  user
textmode
C:\cygwin\bin  /usr/bin  system  textmode
C:\cygwin\lib  /usr/lib  system  textmode
C:\cygwin  /        system  textmode
c:\winnt  /mnt/WINNT  user    textmode
C:    /mnt/c   user    textmode

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

   56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll
   82k 2001/01/21 C:\cygwin\bin\cygform5.dll
   18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll
   17k 2001/01/07 C:\cygwin\bin\cyghistory4.dll
   14k 2000/10/23 C:\cygwin\bin\cygintl.dll
   81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll
   35k 2000/12/05 C:\cygwin\bin\cygitk30.dll
   45k 2000/10/22 C:\cygwin\bin\cygjbig1.dll
  119k 2000/10/23 C:\cygwin\bin\cygjpeg6b.dll
   53k 2001/01/21 C:\cygwin\bin\cygmenu5.dll
  414k 2001/01/21 C:\cygwin\bin\cygncurses++5.dll
  299k 2001/01/21 C:\cygwin\bin\cygncurses5.dll
   34k 2001/01/21 C:\cygwin\bin\cygpanel5.dll
  163k 2001/02/03 C:\cygwin\bin\cygpng2.dll
  108k 2001/01/07 C:\cygwin\bin\cygreadline4.dll
  390k 2000/12/05 C:\cygwin\bin\cygtcl80.dll
    5k 2000/12/05 C:\cygwin\bin\cygtclpip80.dll
   10k 2000/12/05 C:\cygwin\bin\cygtclreg80.dll
  243k 2000/10/23 C:\cygwin\bin\cygtiff3.dll
  623k 2000/12/05 C:\cygwin\bin\cygtk80.dll
   41k 2000/11/20 C:\cygwin\bin\cygXpm-noX4.dll
   45k 2000/11/20 C:\cygwin\bin\cygXpm-X4.dll
   49k 2001/02/03 C:\cygwin\bin\cygz.dll
  631k 2001/04/25 C:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 1
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 38
        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: Tue Apr 24 20:01:02 EDT 2001
        shared id: cygwin1S3

Use -h to see help about each section

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


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