This is the mail archive of the cygwin 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: cp problem w/ snap 04-18 from remote


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/


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