Closed rhinot closed 3 years ago
Hi, sorry for slow response.
As far as I can see, your dir is full of other dirs, which themselves are empty. In rmlint
this is still interpreted as an empty dir since there are no files anywhere. If your dirs are not empty, please reply here and I'll look further.
Hey Daniel - No worries on timing.
All of these directories are not empty. Some have small images, some (the year based directories) have layers of date-based sub-folders, which have images in them.
Ok that's odd.
If you run rmlint -vvv /mnt/pool/dropbox/rpd-tmp-tmbJ3X
, do you see any warnings or debug messages about files or folders that are being ignored?
@rhinot Can you compile from the develop
branch and re-test?
unable to reproduce; please re-open issue if required
Some information that would be useful, if you can still reproduce this:
ls -ld
) on the mergerfs source directories and /mnt/pool/dropbox
ltrace -fs 100 -e '*dir' -e lstat -e stat rmlint -v /mnt/pool/dropbox -o null
(build with scons GDB=1
)strace -fe %file,%%stat,getdents64 rmlint -v /mnt/pool/dropbox -o null 2>&1 | sed '0,/strace: Process/d'
Description
Basic rmlint search on a directory results in a report of an empty directory, despite directory not being empty.
Output seen
Looking at the directory (a mergerfs pool of USB drives):
Expected output
rmlint to run over directory
Alternatives tried
Other details
Raspberry Pi 4 Debian Buster