x-gvfs-show option doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-disk-utility (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
Raring |
Confirmed
|
High
|
Unassigned |
Bug Description
was reporting a separate bug #1010858 about double icons appearing for mounted filesystems, and it occurred to me that it was happening for volumes I had listed in /etc/fstab with uhelper=udisks, the mechanism i used in previous versions to mount internal drives and see them in launcher etc.
In investigating, I found the apparently-new gnome-disk-utility "Disks" and that seems to have new options for doing this properly, but when I tried to use them in closest-to-default way, it failed.
The attached screenshot shows the options I had set on a volume. Below is the line that generated in /etc/fstab:
LABEL=Spinner /mnt/Spinner auto nosuid,
It fails to mount when you try to mount it in the disk utility. An error dialogue opens with:
Error mounting system-managed device /dev/sdg1: Command-line `mount "/mnt/Spinner"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdg1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
(udisks-
dmesg | tail gives:
[ 619.470006] EXT4-fs (sdg1): Unrecognized mount option "x-gvfs-show" or missing value
I expect the bug isn't so much in the disk utility app itself as in the underlying mount tools that have probably been compiled without a required option, but the user experience is that it fails when using the disk utility, hence reporting it here for now.
I suspect I can make this work a different way using prior knowledge, to make it mount in /media and using uhelper=udisks2 - will be trying that in a moment - but this seemed the logical, minimal way to proceed for the new utility and it failed.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gnome-disk-utility 3.5.1-0ubuntu3
ProcVersionSign
Uname: Linux 3.4.0-5-generic x86_64
NonfreeKernelMo
ApportVersion: 2.1.1-0ubuntu2
Architecture: amd64
Date: Sun Jun 10 18:54:35 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-disk-utility
UpgradeStatus: Upgraded to quantal on 2012-06-09 (1 days ago)
Changed in gnome-disk-utility (Ubuntu Raring): | |
milestone: | none → ubuntu-13.04 |
tags: | added: trusty |
tags: | removed: quantal |
tags: | added: utopic |
Additional note: "making it work a different way" half-worked. Using gnome-disk-utility to set mount options to generate the /etc/fstab line:
LABEL=Spinner /media/Spinner auto nosuid, nodev,nofail, uhelper= udisks2 0 0
did allow the drive to mount from the disk utility; but after reboot, I still got two icons for each volume mounted this way in the launcher, as per bug #1010858.
I suspect the "correct" way to fix this is to fix x-gvfs-show mount option though, as that seems a more natural and user-discoverable way to get the desired effect (internal volume mounted at boot showing up in launcher etc)