rdfind
rdfind copied to clipboard
fixme error message - This should never happen.
I am not sure what should be shared in this case, but I am getting this error message. Let me know if I can run it with debugs.
Also, I am not sure the min size is interpreted properly. I don't think I have so many files over 200MB?
rdfind -makehardlinks true -ignoreempty true -minsize 200M -dryrun true ~/devProjects/ (DRYRUN MODE) Now scanning "/home/shuther/devProjects" Dirlist.cc::handlepossiblefile: This should never happen. FIXME! details on the next row: possiblefile="/home/shuther/devProjects/proxyP1/SecureAI-Tools/deployment/db" , found 789093 files. (DRYRUN MODE) Now have 789093 files in total. (DRYRUN MODE) Removed 27167 files due to nonunique device and inode. (DRYRUN MODE) Total size is 262926893732 bytes or 245 GiB Removed 25620 files due to unique sizes from list. 736306 files left. (DRYRUN MODE) Now eliminating candidates based on first bytes:
for the minimum size, it seems the k/m is not supported; maybe we should get an error message if a letter is used or it should be supported?
This is the relevant chunk of code from DirList.cc:
if (S_ISDIR(info.st_mode)) {
std::cerr << "Dirlist.cc::handlepossiblefile: This should never happen. "
"FIXME! details on the next row:\n";
std::cerr << "possiblefile=\"" << possiblefile << "\"\n";
// this should never happen, because this function is only to be called
// for items that can not be opened with opendir.
// maybe it happens if someone else is changing the file while we
// are reading it?
return -2;
So what would be useful is to know more about /home/shuther/devProjects/proxyP1/SecureAI-Tools/deployment/db
. Is it a file? Folder? Link? Could it have been locked by something at the instant that rdfind was looking at it? An access rights issue?