fdupes icon indicating copy to clipboard operation
fdupes copied to clipboard

strange behaviour

Open patatetom opened this issue 7 years ago • 0 comments

hi,

I was trying to compare the speed of execution of different tools - duff, jdupes and fdupes - and it appeared to me that fdupes missed many files, but in a strange way... after some research, here is what I found :

# chs_boot.ttf is one of the files not found
# used like this, fdupes finds them :-)
fdupes -rHnq /investigation/sdb2/Windows/Boot/Fonts/ /investigation/sdb2/Windows/winsxs/amd64_microsoft-windows-b..core-fonts-chs-boot_31bf3856ad364e35_6.1.7600.16385_none_30d8afa629263809/
/investigation/sdb2/Windows/Boot/Fonts/chs_boot.ttf
/investigation/sdb2/Windows/winsxs/amd64_microsoft-windows-b..core-fonts-chs-boot_31bf3856ad364e35_6.1.7600.16385_none_30d8afa629263809/chs_boot.ttf
# used like this, fdupes finds them and remove the first file :-)
fdupes -rHnqf /investigation/sdb2/Windows/Boot/Fonts/ /investigation/sdb2/Windows/winsxs/amd64_microsoft-windows-b..core-fonts-chs-boot_31bf3856ad364e35_6.1.7600.16385_none_30d8afa629263809/
/investigation/sdb2/Windows/winsxs/amd64_microsoft-windows-b..core-fonts-chs-boot_31bf3856ad364e35_6.1.7600.16385_none_30d8afa629263809/chs_boot.ttf
# used like this, everything still works normally :-)
fdupes -rHnqf /investigation/sdb2/Windows/Boot/Fonts/ /investigation/sdb2/Windows/winsxs/amd64_microsoft-windows-b..core-fonts-chs-boot_31bf3856ad364e35_6.1.7600.16385_none_30d8afa629263809/ | grep /chs_boot.ttf
/investigation/sdb2/Windows/winsxs/amd64_microsoft-windows-b..core-fonts-chs-boot_31bf3856ad364e35_6.1.7600.16385_none_30d8afa629263809/chs_boot.ttf
# but if I run fdupes with the only root path /investigation/
fdupes -rHnqf /investigation/ | grep /chs_boot.ttf
# the file is not found :-(

/dev/sdb is a disk hosting a windows seven whose two partitions are mounted read-only under archlinux with ntfs-3g in subfolders /investigation/sdb1/ and /investigation/sdb2/. note that fdupes version is 1.6.1 and that the other two tools produce exactly the same number of duplicate files (51328 against 22211 for fdupes).

regards.

patatetom avatar Sep 03 '17 17:09 patatetom