GNOME Bugzilla – Bug 588222
Ignore EFI partitions on Macboocs
Last modified: 2009-07-10 14:20:12 UTC
https://launchpad.net/bugs/394088 reported that Mac EFI partitions are currently automounted at startup. The automounting is a separate issue, and is already being discussed in another bug. However, I think that they shouldn't really be exposed in the GUI at all. In earlier times this was done with some volume.ignore hal FDIs, but I wonder where these things should go nowadays. Obviously they shouldn't generally be suppressed in devkit-disks, since things like palimpsest should see them. Should these "ignore" rules go into gvfs? Or should they be tagged in /lib/udev/rules.d/95-devkit-disks.rules with an ID_VOLUME_IGNORE thing and gvfs suppresses those? $ gvfs-mount -li Drive(1): 250 GB ATA FUJITSU MHY2250BH Type: GProxyDrive (GProxyVolumeMonitorGdu) ids: unix-device: '/dev/sda' themed icons: [drive-harddisk-ata] [drive-harddisk] [drive] is_media_removable=0 has_media=1 is_media_check_automatic=0 can_poll_for_media=1 can_eject=0 Volume(0): EFI Type: GProxyVolume (GProxyVolumeMonitorGdu) ids: uuid: '826A-0900' unix-device: '/dev/sda1' label: 'EFI' themed icons: [drive-harddisk-ata] [drive-harddisk] [drive] can_mount=1 can_eject=0 should_automount=1 Volume(1): Macintosh HD Type: GProxyVolume (GProxyVolumeMonitorGdu) ids: uuid: 'd535beae-1653-3bab-90db-1582fac276bf' unix-device: '/dev/sda2' label: 'Macintosh HD' themed icons: [drive-harddisk-ata] [drive-harddisk] [drive] can_mount=1 can_eject=0 should_automount=1 devkit-disks --dump is at http://launchpadlibrarian.net/28816151/devkit-disks-dump.txt
Right, this is a problem - and not only for EFI devices - in fact, yesterday dcbw came over to my desk with his iPod mini - the problem there was that we didn't hide the first partition of the iPod. It was detected as vfat but (auto-) mounting it failed. It should really be hidden because the MBR partition type was 0x00. I think we should set DKD_PRESENTATION_HIDE from 95-devkit-disks.rules. Current GVfs code should already honor this property http://hal.freedesktop.org/docs/DeviceKit-disks/Device.html#Device:device-presentation-hide which is set from DKD_PRESENTATION_HIDE. We should probably port the list from http://cgit.freedesktop.org/hal/tree/fdi/policy/10osvendor/20-storage-methods.fdi#n87 to data/95-devkit-disks.rules. And move this bug to fd.o as well.
Closing this as NOTGNOME and opened https://bugs.freedesktop.org/show_bug.cgi?id=22707 for dealing with this in the right place.