Package: diffutils
Version: 1:3.0-1
Severity: normal

I've just migrated our media server to new disks using cp -ar and just
to make sure everything went over alright I compared the old and the
new set with diff -rq, with the attached result. (Sorry for the German locale:
- 'Nur in' => 'Only in' 
- 'Dateien [...] und [...] sind verschieden' => 'Files [...] and [...] are 
different / differ'
)

The thing is, there *aren't actually* any differences (verified with fdupes and 
md5sum) and 
diff's result even varies depending on the paths it's called with.

diff -rq crypt crypt.new                                                        
# see log
diff -rq crypt/Crypt/Misc/Bernhard/Ongaku crypt.new/Crypt/Misc/Bernhard/Ongaku  
# see log
diff -rq crypt/Crypt/Misc/Bernhard/Ongaku/前野健太 - さみしいだけ 
crypt.new/Crypt/Misc/Bernhard/Ongaku/前野健太 - さみしいだけ # no differences, same for 
the other album
#copy Crypt/Misc/Bernhard/Ongaku/前野健太* from both mount points to new 
directories and diff those => no differences

Before you ask, I've lots of Japanese, Hindi and Korean file names on the fs, 
these are the only files that triggered.

So I'm guessing there's something wrong with diff's file name / path name 
handling, 
maybe length-dependent?.


Cheers,
C


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages diffutils depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib

diffutils recommends no packages.

Versions of packages diffutils suggests:
pn  diffutils-doc                 <none>     (no description available)
pn  wdiff                         <none>     (no description available)

-- no debconf information

Attachment: diff.log.gz
Description: GNU Zip compressed data

Reply via email to