Bug 322486

Summary: Add support for x-gvfs-show, x-gvfs-hide, x-gvfs-name and x-gvfs-icon attributes/options in fstab
Product: [Frameworks and Libraries] frameworks-solid Reporter: Stefan Brüns <stefan.bruens>
Component: generalAssignee: Mario Bensi <nef>
Status: RESOLVED FIXED    
Severity: wishlist CC: kdelibs-bugs, kdeu
Priority: NOR    
Version: 5.1.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.39.0

Description Stefan Brüns 2013-07-17 13:26:20 UTC
Gnome GVFS added support for several attributes influencing the presentation of disks/partition to the user.

GVFS uses a heuristic similar to solids to determine if a partition should be presented to the user interface, based on udev attributes amongst others.

The additional attributes are used to override the heuristic by the system administrator. This is especially useful for computers with non-administrative users, as the fstab is a centralized location, i.e. family computers, schools ...

The "specification" is located at https://git.gnome.org/browse/gvfs/tree/monitor/udisks2/what-is-shown.txt

mappings:
x-gvfs-show/hide => StorageAccess.ignored, StorageVolume.ignored
x-gvfs-name => Device.description? , StorageVolume.label
x-gvfs-icon => Device.icon

Currently filed under fstab, but also relevant for udisks{1,2}, as the udisks backend should evaluate these attributes and be notified when the fstab changes.
Comment 1 Jonathan Riddell 2015-03-11 19:08:08 UTC
This bug is reported on libsolid which is the kdelibs4 version of the solid library.  It is now in maintenance mode.  If you think it should still be fixed in the KDE Frameworks 5 version of solid please move it to or report a bug on frameworks-solid.
Comment 2 Stefan Brüns 2015-03-11 22:40:46 UTC
There is an open RB request for this
https://git.reviewboard.kde.org/r/113587/
Comment 3 Lukas Ba. 2017-01-18 16:53:04 UTC
If you want to hide particular devices you can configure that udisks.

https://wiki.archlinux.org/index.php/Udisks#Hide_selected_partitions