in reply to File::Find won't iterate through CIFS share withouth "dont_use_nlink"
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File::Find won't iterate through CIFS share withouth "dont_use_nlink"
by reinaldo.gomes (Beadle) on Jan 30, 2017 at 12:57 UTC | |
by Corion (Patriarch) on Jan 30, 2017 at 13:08 UTC | |
by reinaldo.gomes (Beadle) on Jan 30, 2017 at 15:27 UTC | |
by Corion (Patriarch) on Jan 30, 2017 at 15:46 UTC |