NeilBrown - 26.06.21, 02:54:09 CEST: > > And that Baloo needs an "invariant" for > > > a file. See comment #11 of that bug report: > That is really hard to provide in general. Possibly the best approach > is to use the statfs() systemcall to get the "f_fsid" field. This is > 64bits. It is not supported uniformly well by all filesystems, but I > think it is at least not worse than using the device number. For a > lot of older filesystems it is just an encoding of the device number. > > For btrfs, xfs, ext4 it is much much better. Thank you for the clear statement and for your alternative suggestion. I will forward this to Baloo upstream. I think the main focus of Baloo would be to work on currently mostly in use Linux filesystem which should be BTRFS, XFS, EXT4 and probably F2FS. -- Martin