On Wed, Apr 01, 2020 at 05:25:54PM +0200, Miklos Szeredi wrote: > fsinfo(2) will never be substantially cheaper than reading and parsing > /mnt/MNT_ID/info. In fact reading a large part of the mount table > using fsinfo(2) will be substantially slower than parsing > /proc/self/mountinfo (this doesn't actually do the parsing but that > would add a very small amount of overhead): I think nobody wants to use fsinfo() or mountfs as replacement to whole /proc/self/mountinfo. It does not make sense. We need per-mountpoint API, for whole mount table use-cases (like findmnt or lsblk) the current mountinfo is good enough. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com