On 02/08/2017 04:49 PM, Dale R. Worley wrote:
> Bernhard Voelker <[email protected]> writes:
>>> /proc/self/mountinfo for "/" has 0:18, but stat shows 0:20
> 
>>> /proc/self/mountinfo for "/boot" has 0:18, but stat shows 0:43
> 
>> Okay, so for btrfs, the cache function obviously doesn't work based on 
>> st_dev.
>> I have to think about how to work around that - it's a pity we have to
>> single out special file system types ...
> 
> I'm no expert, but that sounds like an outright error in btrfs (or
> something).  Should we hack find to compensate for that?

I also consider this issue in btrfs clearly as a design bug - along
others, e.g. you can search for "df not working for btrfs" - but maybe
we can weaken the problems for find.  The idea is to build the cache
based on the magic FS number instead of the major/minor.  I'll need
some quiet minutes on the weekend to think about it.

Have a nice day,
Berny


_______________________________________________
Findutils-patches mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/findutils-patches

Reply via email to