The situation is more that File::Find contains far too much argumentation about interacting with Unix filesystems that maybe were true decades ago but certainly are not even true on Unix filesystems nowadays.
IMO, a better approach nowadays would be to always set $dont_use_nlink to a true value and only fall back to that optimization if the user can make certain that the nlink field is valid for this filesystem (which is quite hard to do reliably).
In your case, I would assume that while performance may be critical, correctness still beats performance. So I would compare the two.
In reply to Re: File::Find won't iterate through CIFS share withouth "dont_use_nlink"
by Corion
in thread File::Find won't iterate through CIFS share withouth "dont_use_nlink"
by reinaldo.gomes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |