Re: odd sysfs find behavior, was: Re: [PATCH v6 00/10] Implement NVMe Namespace Descriptor Identification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux