After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 588222 - Ignore EFI partitions on Macboocs
Ignore EFI partitions on Macboocs
Status: RESOLVED NOTGNOME
Product: gvfs
Classification: Core
Component: [obsolete] gdu volume monitor
1.3.x
Other Linux
: Normal minor
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2009-07-10 07:38 UTC by Martin Pitt
Modified: 2009-07-10 14:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Martin Pitt 2009-07-10 07:38:07 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
Comment 1 David Zeuthen (not reading bugmail) 2009-07-10 14:17:43 UTC
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.
Comment 2 David Zeuthen (not reading bugmail) 2009-07-10 14:20:12 UTC
Closing this as NOTGNOME and opened

 https://bugs.freedesktop.org/show_bug.cgi?id=22707

for dealing with this in the right place.