Currently used xfce-extra/xfce4-mount-plugin-0.6.4 by default displays all mount pounts, listed in /etc/fstab. But most of them (/usr, /var, /home) couldn't be mounted (and umounted) by odrinar, unprivilledged user. So I need in rather long mountpoing-exclude list. I find it very pretty, if mount-plugin, following Thunar, will display not all mount points, but only those of them, which containg 'user' option. Also, please note bug #10154 (i.e. differ 'user' meaning user-allowed mount and 'user=username' options).
Please note that the idea of the mount plugin is also to give a grasp of the amount of space consumed and available on the devices. I might consider adding an option to exclude non-(un)mountable devices. However, it is not as easy as checking the flag "user" because the root user might use the plugin and root can mostly (un)mount any device. So I would need more checks, such as for root who may do anything, and one for user, and perhaps anothre one for user=name. As an alternative, one might consider an option "Show only user-(un)mountable devices", if that is acceptable, which would for both regular users and the root user hide the root folder / and others.
(In reply to Fabian Nowak from comment #1) > Please note that the idea of the mount plugin is also to give a grasp of the > amount of space consumed and available on the devices. > > I might consider adding an option to exclude non-(un)mountable devices. > However, it is not as easy as checking the flag "user" because the root user > might use the plugin and root can mostly (un)mount any device. I remember this feature of mount-plugin. But even root couldn't easely umount system partitions mounted as /usr, /var. For monitoring free/used size on such partitions I find well enough xfce-extra/xfce4-diskperf-plugin and/or xfce-extra/xfce4-fsguard-plugin. > So I would need more checks, such as for root who may do anything, and one > for user, and perhaps anothre one for user=name. To my mind it could be done in two step check: uid = 0 → show all mount points. uid > 0 → show only user-mountable mountpoints. > As an alternative, one might consider an option "Show only > user-(un)mountable devices", if that is acceptable, which would for both > regular users and the root user hide the root folder / and others. Good idea!
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-mount-plugin/-/issues/1. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev