in reply to Re: File::Find won't iterate through CIFS share withouth "dont_use_nlink"
in thread File::Find won't iterate through CIFS share withouth "dont_use_nlink"
The optimization only helps if you have empty directories (i.e. directories with no files except . and ..)Erm, actually the optimisation is used to detect directories that contain no subdirectories (rather than that are empty directories). That way, for leaf node directories, you don't have to stat() every directory entry looking for possible subdirectories.
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: File::Find won't iterate through CIFS share withouth "dont_use_nlink"
by ikegami (Patriarch) on Feb 02, 2017 at 17:17 UTC |