[Mageia-dev] mkinitrd and Mageia2

Colin Guthrie mageia at colin.guthr.ie
Fri Jan 27 16:21:04 CET 2012


'Twas brillig, and Frank Griffin at 27/01/12 15:17 did gyre and gimble:
> On 01/27/2012 09:45 AM, Colin Guthrie wrote:
>> Well it's complicated. The different DE's do things differently.
>> AFAIK, GNOME has used udev for a long time, and I had it in my head
>> that KDE did also, but they are totally separate implementations. But
>> I do see here, that my USB stick is not showing up in GNOME now. I'll
>> try later in KDE and try and pinpoint where the weak link is. The
>> urpmi stuff does still use HAL and should really be ported as HAL
>> shouldn't be used now (I've got it disabled on all my mga1 machines
>> anyway as I don't use urpmi+CD/DVD media). Col 
> 
> Just for the record, this doesn't involve urpmi.  This is just things
> like brasero and wine apps not being able to "see" loaded media that
> aren't mounted.
> 
> KDE detects that it's there, and reads the volume label to display in
> the Devices popup, but doesn't mount it, probably because k3b doesn't
> use mounted media anyway (the first thing it does is umount the disk). 
> Things like VLC, "Play disk" which take the /dev/srX device address work
> as well.
> 
> Sounds like several things are still relying on what hal does.  Is there
> some intentional reason why volumes are no longer automounted ?

I really don't think it's anything to do with HAL here. As I said, it's
only urpmi stuff that uses HAL and I'm pretty certain the DE's long ago
stopped doing that.

I'll just be some regular bug.

The info comes up in udev when querying /dev/sdb and /dev/sdb1 for
example, but I'm not 100% sure all the UDISKS_* variables are totally
correct. The metadata doesn't seem to suggest it is a removable device
and hence it might not show up properly. I suspect this is the cause of
that particular problem, but like I say I (or someone) will have to look
into it a in a bit more detail.

I wouldn't go down the HAL route tho'. I've never had it enabled on my
machine for >1 year and automounting has worked fine.

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