Duplicate results with symlink folders in /proc/
When doing a filename search on /
, I noticed I was getting a lot of duplicate results from /proc/
A new folder is created in /proc/
for every process. The folder is numbered by the PID. Inside of those numbered folders is a cwd
symlink folder that links to the current working directory of the process (which will usually be the user's home folder). There may also be a folder called task
which may contain another cwd
symlink. The cwd
symlinks is what was producing all the duplicate results.
I haven't done much with the Catfish filename search or walking parts, so I'm not that familiar with how it checks for duplicates or deals with symlinked folders.
Maybe Catfish could keep a list of symlinked folders and not search those until last?
I thought about maybe adding /proc/
to the exclude list for a simple fix but some of the files in there contain useful info that could be searched with fulltext search (CPU/hardware info). Plus that issue might pop up again with other symlinked folders.
Anyway, I don't mind helping out with this if needed, just need some direction/ideas.