Question 1 of 14
Why might you use `find -noleaf`, and what filesystem assumption does it disable?
Strong Interview Answer
I would use `-noleaf` when directory link counts do not follow the usual Unix convention, such as on some CD-ROM or AFS-style filesystems. It disables the leaf optimization so `find` does not skip entries based on an invalid link-count assumption.
What to Listen For
- nonstandard filesystem
- directory link counts
- leaf optimization
- find -noleaf
Caution
This is a core concept for understanding `find`'s behavior on non-standard filesystems.