GNOME Bugzilla – Bug 795578
Handle x-gvfs- options not only for fstab entries
Last modified: 2018-05-23 08:42:47 UTC
GVfsUDisks2VolumeMonitor handles x-gvfs-hide/x-gvfs-show mount options used to overwrite our heuristics whether the mount should be shown, or hidden. Unfortunately, it works currently only for mounts with corresponding fstab entries, because the options are read over g_unix_mount_point_get_options. Let's use the newly introduced g_unix_mount_get_options to allow reading of the options for all sort of mounts (e.g. created over pam_mount, or manually mounted). GLib dependency has to be bumped accordingly before push...
Created attachment 371429 [details] [review] udisks2: Handle x-gvfs- options not only for fstab entries
Created attachment 372355 [details] [review] udisks2: Handle x-gvfs- options not only for fstab entries GVfsUDisks2VolumeMonitor handles x-gvfs-hide/x-gvfs-show mount options used to overwrite our heuristics whether the mount should be shown, or hidden. Unfortunately, it works currently only for mounts with corresponding fstab entries, because the options are read over g_unix_mount_point_get_options. Let's use the newly introduced g_unix_mount_get_options to allow reading of the options for all sort of mounts (e.g. created over pam_mount, or manually mounted). Update GLib dependency accordingly.
Attachment 372355 [details] pushed as 959db3e - udisks2: Handle x-gvfs- options not only for fstab entries