Bug 322486 - Add support for x-gvfs-show, x-gvfs-hide, x-gvfs-name and x-gvfs-icon attributes/options in fstab
Summary: Add support for x-gvfs-show, x-gvfs-hide, x-gvfs-name and x-gvfs-icon attribu...
Status: RESOLVED FIXED
Alias: None
Product: frameworks-solid
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.1.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Mario Bensi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-17 13:26 UTC by Stefan Brüns
Modified: 2018-02-12 19:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.39.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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