delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/07/08:50:40

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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Philip Flip Kromer <flip AT mrflip DOT com>
Newsgroups: gmane.os.cygwin
Subject: rsync: problem accessing files on mapped network drive
Date: Tue, 07 May 2002 07:33:34 -0500
Organization: UT-Austin CNLD
Lines: 327
Message-ID: <3CD7C99E.9060403@mrflip.com>
Reply-To: flip AT mrflip DOT com
NNTP-Posting-Host: tick.ph.utexas.edu
Mime-Version: 1.0
X-Trace: main.gmane.org 1020774883 21255 128.83.156.199 (7 May 2002 12:34:43 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Tue, 7 May 2002 12:34:43 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9) Gecko/20020311
X-Accept-Language: en-us, en

--------------050602070007030003080708
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit


Hello, I am using rsync 2.5.5  protocol version 26 with cygwin 1.3.10-1. 
When I connect to a directory that resides on the computer, everything 
works great.  When I connect to a directory that is a mapped UNC drive, 
rsync cannot find any files:

   tick:~/foo/bar$ net use 'y:' '\\tick\chairface'
   The command completed successfully.

   tick:~/foo/bar$ ls /y/foo/bar
   arthur.txt*  diefled.txt*

   tick:~/foo/bar$ rsync -nCuvaz localhost:/y/foo/bar/ .
   receiving file list ... link_stat /y/foo/bar/. : No such
   file or  directory
   done
   client: nothing to do: perhaps you need to specify some
   filenames or the --recursive option?
   rsync error: partial transfer (code 23) at main.c(594)

This only happens over the network; it works without the colon:
   tick:~/foo/bar$ rsync -nCuvaz /y/foo/bar/ .
   building file list ... done
   arthur.txt
   diefled.txt
   wrote 129 bytes  read 28 bytes  314.00 bytes/sec
   total size is 15924  speedup is 101.43

It breaks whether rsync is run on a local or remote machine. It breaks 
with drives mapped to UNC shares from my local (windows) machine (as 
above), or to drives mapped to samba network shares.

The output of cygcheck is attached, and some other possibly interesting 
details are appended.

If I should send this instead to the rsync mailing list please advise. 
Thanks for any ideas.

flip

----------------------------------------------------------------------------
   tick:~$ ls -ld /?
   drwxr-xr-x   11 flip     administ        0 May  7 05:13 /c/
   drwxr-xr-x    1 flipcyg  usercyg         0 May  7 06:25 /f/
   drwxr-xr-x    5 flip     administ        0 Dec 31  1979 /h/
   drwxr-xr-x    5 flip     administ        0 Dec 31  1979 /m/
   drwxr-xr-x    1 help     helpserv        0 May  3 11:52 /u/
   drwxr-xr-x    1 everyone everyone        0 May  7 05:13 /y/
   tick:~$ ls -ld /x
   drwxr-xr-x    1 flip     administ        0 Dec 31  1979 /x/

[/x doesn't appear in the ls because the directory c:\unix\f and c:\unix\y 
exist but c:\unix\x doesn't.  Either way the error occurs.]

   tick:~$ net use
   New connections will be remembered.
   Status       Local     Remote              Network
   -------------------------------------------------------------------
   OK           F:        \\granular\me       Microsoft Windows Network
   OK           U:        \\granular\users    Microsoft Windows Network
   OK           X:        \\tick\thrakkorzog  Microsoft Windows Network
   OK           Y:        \\tick\chairface    Microsoft Windows Network
   The command completed successfully.

   tick:~/foo$ mount
   c:\unix\bin on /usr/bin type system (binmode)
   c:\unix\lib on /usr/lib type system (binmode)
   c:\unix on / type system (binmode)
   c: on /c type system (binmode)
   f: on /f type system (binmode)
   h: on /h type system (binmode)
   m: on /m type system (binmode)
   u: on /u type system (binmode)
   y: on /y type system (binmode)
   x: on /x type system (binmode,noumount)

The directories C:\unix\f and C:\unix\y exist and were explicitly mounted. 
The directory c:\unix\x does not; /x is an automagical (cygdrive) mount.

--------------050602070007030003080708
Content-Type: text/plain;
 name="cygcheck-rsyncproblem.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="cygcheck-rsyncproblem.txt"


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue May 07 06:39:08 2002

Windows XP Professional Ver 5.1 Build 2600 

Path:	c:\unix\bin
	c:\unix\sbin
	c:\unix\bin
	c:\unix\usr\local\bin
	c:\unix\usr\X11R6\bin
	c:\apps\utils
	c:\windows
	c:\windows\system32
	c:\windows\system32\wbem
	c:\apps\Applications\Matlab\bin\win32

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

CYGWIN = `binmode ntsec tty'
HOME = `h:\flip'
LD_LIBRARY_PATH = `\lib:\usr\lib\:\usr\local\lib:\usr\X11R6\lib\'
MAKE_MODE = `unix'
PWD = `/h/flip/foo'
USER = `flip'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  NTFS    4996Mb  93% CP CS UN PA FC     Chairface
f:  net NTFS   51677Mb  73% CP CS    PA        me
h:  hd  FAT32   9654Mb  82% CP    UN           THRAKKORZOG
m:  hd  FAT32  23285Mb  90% CP    UN           MRMENTAL
r:  cd           N/A    N/A                    
u:  net NTFS   51677Mb  73% CP CS    PA        users

.            /         user    textmode,noumount
c:\unix      /         system  binmode
c:           /c        system  binmode
f:           /f        system  binmode
h:           /h        system  binmode
m:           /m        system  binmode
u:           /u        system  binmode
c:\unix\bin  /usr/bin  system  binmode
c:\unix\lib  /usr/lib  system  binmode
.            /         user    binmode,noumount

Found: c:\unix\bin\bash.exe
Found: c:\unix\bin\cat.exe
Found: c:\unix\bin\cpp.exe
Found: c:\unix\usr\local\bin\find.exe
Found: c:\unix\bin\gcc.exe
Found: c:\unix\bin\gdb.exe
Found: c:\unix\bin\ld.exe
Found: c:\unix\bin\ls.exe
Found: c:\unix\bin\make.exe
Found: c:\unix\bin\sh.exe

   54k 2002/01/27 c:\unix\bin\cygbz21.0.dll
  621k 2002/01/16 c:\unix\bin\cygcrypto.dll
   45k 2001/04/25 c:\unix\bin\cygform5.dll
   35k 2002/01/09 c:\unix\bin\cygform6.dll
   19k 2002/02/20 c:\unix\bin\cyggdbm.dll
   17k 2001/06/28 c:\unix\bin\cyghistory4.dll
   20k 2002/01/13 c:\unix\bin\cyghistory5.dll
   22k 2001/12/13 c:\unix\bin\cygintl-1.dll
   22k 2002/01/29 c:\unix\bin\cygintl.dll
  119k 2002/02/09 c:\unix\bin\cygjpeg6b.dll
   25k 2002/03/17 c:\unix\bin\cygltdl-3.dll
   26k 2001/04/25 c:\unix\bin\cygmenu5.dll
   20k 2002/01/09 c:\unix\bin\cygmenu6.dll
  156k 2001/04/25 c:\unix\bin\cygncurses++5.dll
  175k 2002/01/09 c:\unix\bin\cygncurses++6.dll
  226k 2001/04/25 c:\unix\bin\cygncurses5.dll
  202k 2002/01/09 c:\unix\bin\cygncurses6.dll
   15k 2001/04/25 c:\unix\bin\cygpanel5.dll
   12k 2002/01/09 c:\unix\bin\cygpanel6.dll
   40k 2001/11/21 c:\unix\bin\cygpcre.dll
   39k 2001/11/21 c:\unix\bin\cygpcreposix.dll
  171k 2002/04/19 c:\unix\bin\cygpng10.dll
  108k 2001/06/28 c:\unix\bin\cygreadline4.dll
  121k 2002/01/13 c:\unix\bin\cygreadline5.dll
   66k 2001/11/20 c:\unix\bin\cygregex.dll
  156k 2002/01/16 c:\unix\bin\cygssl.dll
  491k 2002/04/11 c:\unix\bin\cygtcl83.dll
    5k 2002/04/11 c:\unix\bin\cygtclpip83.dll
  253k 2002/02/10 c:\unix\bin\cygtiff3.dll
  201k 2002/04/11 c:\unix\bin\cygtix4183.dll
  762k 2002/04/11 c:\unix\bin\cygtk83.dll
   50k 2002/03/12 c:\unix\bin\cygz.dll
  751k 2002/02/25 c:\unix\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.3.10
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 51
        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: Mon Feb 25 11:14:34 EST 2002
        Shared id: cygwin1S3


Cygwin Package Information
Package             Version             
XFree86-base        4.2.0-1             
XFree86-bin         4.2.0-1             
XFree86-etc         4.2.0-1             
XFree86-f100        4.2.0-1             
XFree86-fcyr        4.2.0-1             
XFree86-fenc        4.2.0-2             
XFree86-fnts        4.2.0-2             
XFree86-fscl        4.2.0-1             
XFree86-fsrv        4.2.0-1             
XFree86-html        4.2.0-1             
XFree86-lib         4.2.0-2             
XFree86-man         4.2.0-1             
XFree86-prog        4.2.0-1             
XFree86-prt         4.2.0-1             
XFree86-ps          4.2.0-1             
XFree86-startup-scripts4.2.0-1             
XFree86-vfb         4.2.0-1             
XFree86-xserv       4.2.0-2             
ash                 20020131-1          
autoconf            2.53-1              
autoconf-devel      2.53-1              
autoconf-stable     2.13-4              
automake            1.6a-1              
automake-devel      1.6-1               
automake-stable     1.4p5-5             
bash                2.05a-3             
bc                  1.06-1              
binutils            20011002-1          
bzip2               1.0.2-1             
clear               1.0-1               
cpio                2.4.2               
crypt               1.0-1               
ctags               5.2-1               
cvs                 1.11.0-1            
cygrunsrv           0.95-1              
cygutils            1.0.0-1             
cygwin              1.3.10-1            
diff                0.0                 
file                3.37-1              
fileutils           4.1-1               
findutils           4.1                 
flex                2.5.4-1             
gawk                3.0.4-1             
gcc                 2.95.3-5            
gdb                 20020411-1          
gdbm                1.8.0-4             
gettext             0.10.40-1           
ghostscript         6.51-4              
gperf               0.0                 
grep                2.5-1               
groff               1.17.2-1            
gzip                1.3.2-1             
indent              2.2.7-2             
inetutils           1.3.2-17            
jpeg                6b-7                
less                374-1               
libPropList         0.10.1-1            
libbz2_0            1.0.2-1             
libintl             0.10.38-3           
libintl1            0.10.40-1           
libncurses5         5.2-1               
libncurses6         5.2-8               
libpng              1.0.13-1            
libpng10            1.0.13-1            
libreadline4        4.1-2               
libreadline5        4.2a-1              
libtool             20020202a-1         
libtool-devel       20020316-1          
libtool-stable      1.4.2-2             
login               1.4-3               
lynx                2.8.4-1             
m4                  0.0                 
make                3.79.1-6            
man                 1.5g-2              
mingw-runtime       1.3-2               
mktemp              1.4-1               
ncftp               3.1.3-1             
ncurses             5.2-8               
newlib-man          20001118-1          
openssh             3.1p1-1             
openssl             0.9.6c-2            
openssl-devel       0.9.6c-2            
patch               2.5-3               
pcre                3.7-1               
perl                5.6.1-2             
popt                1.6.2-1             
python              2.2-1               
rcs                 5.7-3               
readline            4.2a-1              
regex               4.4-2               
rsync               2.5.5-1             
rxvt                2.7.2-10            
sed                 3.02-1              
sh-utils            2.0-2               
sharutils           4.2.1-2             
shutdown            1.2-2               
ssmtp               2.38.7-3            
tar                 1.13.19-1           
tcltk               20001125-1          
tcsh                6.11.00-4           
termcap             20020403-1          
terminfo            5.2-1               
tetex-beta          20001218-4          
texinfo             4.1-1               
textutils           2.0.21-1            
tiff                3.5.7-1             
time                1.7-1               
units               1.77-1              
unzip               5.41-1              
w32api              1.3-2               
wget                1.8.1-1             
which               1.5-1               
whois               4.5.17-1            
zip                 2.3-1               
zlib                1.1.4-1             

Use -h to see help about each section


--------------050602070007030003080708
Content-Type: text/plain; charset=us-ascii

--
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/
--------------050602070007030003080708--



- Raw text -


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