Mailinglist Archive: opensuse-bugs (4060 mails)

< Previous Next >
[Bug 660700] do not allow to use fdupes -s

https://bugzilla.novell.com/show_bug.cgi?id=660700

https://bugzilla.novell.com/show_bug.cgi?id=660700#c4


Michal Vyskocil <mvyskocil@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
InfoProvider| |andreas.hanke@gmx-topmail.d
| |e

--- Comment #4 from Michal Vyskocil <mvyskocil@xxxxxxxxxx> 2011-01-06 12:56:56
UTC ---
Pavol: aren't you requesting break a build of major part of Factory, don't you?
I'm sure that every user will be rude from that change, which is for nothing.

The problem is not in fdupes nor %fdupes. At least fdupes newer prints the name
of directory - it does not work with them at all and it skips the S_ISDIR items
from readdir() results. And I was never been able to create example when it
symlinks directories.

$ tree dir1
dir1
├── bar-file
├── baz-file
├── not-a-duplicate-file
├── with-subdir
│   ├── foo-file
│   └── one-file
└── yet
└── another
└── subdir
├── bar-file
├── baz-file
└── not-a-duplicate-file

4 directories, 8 files

Plain fdupes call

$ fdupes -q -n -r dir1/
dir1/not-a-duplicate-file
dir1/yet/another/subdir/not-a-duplicate-file

dir1/baz-file
dir1/with-subdir/one-file
dir1/yet/another/subdir/baz-file

dir1/bar-file
dir1/with-subdir/foo-file
dir1/yet/another/subdir/bar-file

Script stripped from %fdupes macro prints the

$ sh fdupes.sh dir1/
ln -sf dir1/not-a-duplicate-file dir1/yet/another/subdir/not-a-duplicate-file
ln -sf dir1/baz-file dir1/with-subdir/one-file
ln -sf dir1/baz-file dir1/yet/another/subdir/baz-file
ln -sf dir1/bar-file dir1/with-subdir/foo-file
ln -sf dir1/bar-file dir1/yet/another/subdir/bar-file

Andreas: if you're sure the problem is in fdupes, then please provide a test
case.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >