[Mageia-dev] Media mounting broken

Colin Guthrie mageia at colin.guthr.ie
Tue Jan 31 15:39:38 CET 2012


'Twas brillig, and Colin Guthrie at 31/01/12 14:15 did gyre and gimble:
> 'Twas brillig, and Colin Guthrie at 31/01/12 13:50 did gyre and gimble:
>> 'Twas brillig, and Frank Griffin at 31/01/12 13:32 did gyre and gimble:
>>> On 01/31/2012 07:23 AM, Frank Griffin wrote:
>>>>
>>>> I've just found that if you right-click on the device notifier panel
>>>> icon and select Settings, then Removable Media, there is an option to
>>>> automount removable media which  is not checked.  I'll bet the default
>>>> for this changed with the latest KDE upload.  Still doesn't explain
>>>> why LXDE has problems, tho.
>>>>
>>> There is no joy in Mudville: https://bugs.mageia.org/show_bug.cgi?id=4361
>>
>> I suspect the problem is somewhere in gvfs or below. I believe LXDE uses
>> gvfs so this would explain why both it and GNOME are affected..
>>
>> Certainly running:
>> gvfs-mount -oi
>>
>> does not show any events when plugging/unplugging a USB disk.
>>
>> Something to investigate - I don't really have time right now.
> 
> OK, so basically it's due to the switch form using the gdu volume
> monitor backend to the udisks2 one.
> 
> As gnome-disk-utility was updated, it no longer offers the gdu volume
> monitor....
> 
> So you *will* need udisks2 installed (no requires yet), but even then it
> is not working for me...
> 
> udisks2 does see the drives being plugged in (udisksctl monitor) but
> it's not getting through to gvfs.
> 
> Grepping for udisks2 in gvfs's configure does not show any results... so
> the problem is our gvfs does not support udisks...
> 
> To the git tree batman!!!

OK, so I packaged a git snapshot of gvfs with the udisks2 media monitor
support merged. Works fine for me. Submitted for build.

Seems Funda tried to do this before but didn't actually check that the
codebase included the udisks2 backend. It did not.

Also had to fix some format security errors too which I'll push upstream.

Must get back to work now!!

Col



-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list