[Bug 940296] New: %fdupes does ot work properly with hardlinks
http://bugzilla.opensuse.org/show_bug.cgi?id=940296 Bug ID: 940296 Summary: %fdupes does ot work properly with hardlinks Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: tchvatal@suse.com Reporter: sbrabec@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- If some files are hardlinks, %fdupes does not work properly, and it is not capable to link duplicates. mkdir a mkdir b echo >a/x cp -a a/x b/z ln a/x a/y Now run %fdupes b a It will do: „a/x“ => „b/z“ Before: a: total 52 drwxr-xr-x 2 sb users 4096 Aug 2 17:51 . drwxr-xr-x 277 sb users 36864 Aug 2 17:51 .. -rw-r--r-- 2 sb users 1 Aug 2 17:51 x -rw-r--r-- 2 sb users 1 Aug 2 17:51 y b: total 48 drwxr-xr-x 2 sb users 4096 Aug 2 17:51 . drwxr-xr-x 277 sb users 36864 Aug 2 17:51 .. -rw-r--r-- 1 sb users 1 Aug 2 17:51 z After: a: total 52 drwxr-xr-x 2 sb users 4096 Aug 2 17:52 . drwxr-xr-x 277 sb users 36864 Aug 2 17:51 .. -rw-r--r-- 2 sb users 1 Aug 2 17:51 x -rw-r--r-- 1 sb users 1 Aug 2 17:51 y b: total 48 drwxr-xr-x 2 sb users 4096 Aug 2 17:51 . drwxr-xr-x 277 sb users 36864 Aug 2 17:51 .. -rw-r--r-- 2 sb users 1 Aug 2 17:51 z => y is unlinked from x and linked with z. The result is missing hard link that existed before. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=940296 http://bugzilla.opensuse.org/show_bug.cgi?id=940296#c1 --- Comment #1 from Tomáš Chvátal <tchvatal@suse.com> --- I updated to 1.51 in utilities repo, so you could try that one. Another candidate would be to try it out from the upstream git: https://github.com/adrianlopezroche/fdupes Btw code of this thing is quite ugly :) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com