cp problem w/ snap 04-18 from remote

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Apr 21 16:38:00 GMT 2006


On Apr 20 17:01, Shaffer, Kenneth wrote:
> I get
> 
> cp: `//svtreboot3/logs/customer_logs.cfg' and `./customer_logs.cfg' are
> the same file
> [...]
>    91   47307 [main] cp 424 stat_worker: (//svtreboot3/logs/customer_logs.cfg, 0x22EB10, 0, 0x61161E2C), file_attributes 32
>    96   47403 [main] cp 424 fhandler_base::open: (\\svtreboot3\logs\customer_logs.cfg, 0x110000)
> [...]
>   743   50904 [main] cp 424 fhandler_base::fstat_helper: 0 = fstat (, 0x22EB10) st_atime=4447F39C st_size=6935, st_mode=0x81A4, st_ino=3096224743829340, sizeof=96
> [...]
>    91   52448 [main] cp 424 stat_worker: (./customer_logs.cfg, 0x22EAB0, 0, 0x61161E2C), file_attributes 32
>    94   52542 [main] cp 424 fhandler_base::open: (c:\Logs\customer_logs.cfg, 0x110000)
>   161   53946 [main] cp 424 fhandler_base::fstat_helper: 0 = fstat (, 0x22EAB0) st_atime=4447F391 st_size=8356, st_mode=0x81C0, st_ino=3096224743829340, sizeof=96

The inode numbers of both files are identical.  But in theory, cp should
only see both files as the same, if the inode numbers as well as the
device numbers are identical.  You seem to suffer from a very seldom
situation, that the volume serial numbers (which are used as device
numbers) of the local and the remote file system are identical.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list