On Mon, Jun 19, 2017 at 10:59 AM, Tejun Heo <tj@xxxxxxxxxx> wrote: > > So, looks like this is the debugfs automount mechanism changing nlinks > across automounts and confusing find in the process. Greg? Btw, you should be able to use the "-noleaf" option to find to disable the whole "count nlink of directories" logic. So does find /sys -noleaf -name uuid work reliably whether that automount thing has triggered or not? That said, I don't understand why the automount of debugfs should matter. It's not even under the same hierarchy as any of the uuid files, unless I'm confused. So the nlink on *those* directories shouldn't even matter. Very odd. Linus