This bug still exists in Lucid. See below output from gvfs-mount, it knows it is a "[drive-harddisk]" but still types it as "x-content/image-picturecd".
$ gvfs-mount -li | grep -A 15 'Volume(1)' Volume(1): Files Type: GProxyVolume (GProxyVolumeMonitorGdu) ids: uuid: '62b4128d-3edc-4dd5-b0d8-7134845d31d1' unix-device: '/dev/sda6' label: 'Files' themed icons: [drive-harddisk-ata] [drive-harddisk] [drive] can_mount=1 can_eject=0 should_automount=0 Mount(0): Files -> file:///media/Files Type: GProxyMount (GProxyVolumeMonitorGdu) default_location=file:///media/Files themed icons: [drive-harddisk-ata] [drive-harddisk] [drive] x_content_types: x-content/image-picturecd can_unmount=1
The offending line in the mime files:
$ grep -A 39 x-content/image-picturecd /usr/share/mime/packages/freedesktop.org.xml | grep -v xml:lang <mime-type type="x-content/image-picturecd"> <comment>Picture CD</comment> <treemagic> <treematch type="directory" path="PICTURES" non-empty="true" match-case="true"/> </treemagic> </mime-type>
This should be enhanced to also include a device type check (eg gvfs's "[drive-optical]"), or better yet just removed.
This bug still exists in Lucid. See below output from gvfs-mount, it knows it is a "[drive-harddisk]" but still types it as "x-content/ image-picturecd ".
$ gvfs-mount -li | grep -A 15 'Volume(1)' nitorGdu) 3edc-4dd5- b0d8-7134845d31 d1' harddisk- ata] [drive-harddisk] [drive] automount= 0 nitorGdu) location= file:// /media/ Files harddisk- ata] [drive-harddisk] [drive] content_ types: x-content/ image-picturecd
Volume(1): Files
Type: GProxyVolume (GProxyVolumeMo
ids:
uuid: '62b4128d-
unix-device: '/dev/sda6'
label: 'Files'
themed icons: [drive-
can_mount=1
can_eject=0
should_
Mount(0): Files -> file:///media/Files
Type: GProxyMount (GProxyVolumeMo
default_
themed icons: [drive-
x_
can_unmount=1
The offending line in the mime files:
$ grep -A 39 x-content/ image-picturecd /usr/share/ mime/packages/ freedesktop. org.xml | grep -v xml:lang content/ image-picturecd "> Picture CD</comment>
<mime-type type="x-
<comment>
<treemagic>
<treematch type="directory" path="PICTURES" non-empty="true" match-case="true"/>
</treemagic>
</mime-type>
This should be enhanced to also include a device type check (eg gvfs's "[drive-optical]"), or better yet just removed.