This possibility already exists. The -s switch is basically for skipping certain devices, but since pseudo file systems use their identifiers as devices, you can also use this.
See lsmount.rc.example skip = "sysfs,proc,udev,sunrpc,devpts,tmpfs,cgroup,pstore,systemd-1,mqueue,securityfs,debugfs,configfs,hugetlbfs,fusectl";
signature.asc
Description: OpenPGP digital signature