Method 2, without visible actions, handles situations where a component in a path is renamed.
It also makes it impossible for anyone to unmount a directory during a search; the kernel will refuse to unmount the directory if it is used, which includes creating some process.
arnaud576875
source share