* Andreas Schwarz <a.schwarz_...@dntw.de> [180918 13:00]:
> 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";

Okay, thanks.  I was hoping for something where I didn't have to
enumerate all possible pseudo file systems, but I guess somebody has to
maintain that list.  It would be nice if the list were in a single
place, rather than each user having to maintain the same list on all
systems where lsmount was installed.

BTW, I would not include tmpfs in that list; those file systems are
modifiable by normal users.  Also, replace securityfs with none, as that
is the device name used by that file system type.

If you are not willing to maintain the list inside lsmount (perhaps as
an alias device name 'pseudo' recognized by skip), then you can go ahead
and close this bug.

Thanks...Marvin

Reply via email to