It's not the reporting that's the issue. It's the call to mount(2).

I guess we could use getmntent(/etc/fstab). Currently we examine the superblock magics directly, which seems more robust as it doesn't rely on /etc/fstab changing in sync with the filesystems. This won't, however, work for ext3, as it has the same superblock magic as ext2.

Peter