On 09/12/15 11:42, Kamil Dudka wrote:
> On Wednesday 09 December 2015 10:35:25 Pádraig Brady wrote:
>> p.s. I see that find does a stat per file on XFS,
>> while d_type can be used to distinguish dirs there.
>> On XFS DT_DIR is set for dirs and DT_UNKNOWN otherwise.
> 
> I am afraid this is not sufficient for FTS to eliminate all calls to stat() 
> unless it is guaranteed that DT_UNKNOWN is never returned for a directory.

I'm fairly sure XFS never returns DT_UNKNOWN for a directory.


Reply via email to