HomeFreeBSD

find(1): Don't treat statfs() error as fatal in f_fstype, which can happen

Description

find(1): Don't treat statfs() error as fatal in f_fstype, which can happen
when a directory is removed in the middle of find.

Instead of a full err(), allow find to continue, plus print a warning with
exitstatus set when appropriate.

Reported by: 100.chksetuid via gordon
Reviewed by: jilles
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D13024

Details

Provenance
delphijAuthored on
Reviewer
jilles
Differential Revision
D13024: Don't terminate when statfs() fails.
Parents
rS325722: Use pfind_any in linux_rt_sigqueueinfo and kern_sigqueue
Branches
Unknown
Tags
Unknown