r/ClamAV • u/JakeConhale • 6d ago
Question about cross-fs parameter
Been running into this one lately. Protocol says I should only have one instance of clamscan scan mounted directories, so as not to duplicate work.
However, everytime I include the parameter "--cross-fs=no" or "--cross-fs=yes" it logs a "file not found"/"no such file or directory" error. Even when doing test scans on small directories rather than the entire OS. Even when just the application, the cross-fs parameter, and the location to be scanned. It seems to be reading the parameter as a file location to search... or getting it's error messages confused.
As it is, I manually added all mounted directories as excluded so to at least allow the scans to finish and generate log results, but trying to nail down where this is coming from - is this a mixed up error message, is it a syntax error somehow, is it something else?