[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automounting experiments



Theo Schmidt wrote:

> Derek Broughton schrieb:
>> Bellegarde Cedric wrote:
>>> Roman Kreisel wrote:
> ...
>>>>And no, afaik, hotplug is _not_ obsolete.
> ...
>>>hotplug is obsolete, udev is now the good way to do (and not hal):
> 
> Oh great, even the experts disagree... 

Oooh, I hope he's not talking about me...  :-)

> I gleaned my clip on "obsolete 
> hotplug" from an article about SuSE 10.0 in LinuxUser (German magazine).
> 
> ...
>>>udev, in mandriva(2006), now do hotplug job.
>>>
>> 
>> I can't see how.  Hotplug inserts the modules required by a device - I
>> see
>> nothing in udev that's going to do that.  hal is a _very_ good way to
>> enable automounting (amongst other things) - it doesn't mount anything,
>> but then neither does udev.
> 
> hal seems to depend on udev, but I still havn't got a clue what all
> these components *really* do.

I think we're all just fumbling in the dark these days, as there isn't
enough documentation around.  I have a pretty good clue about hotplug - and
the simplest explanation is that it notes the insertion of hotpluggable
hardware (generally PC-card and USB) and installs the appropriate modules
to support it (running custom scripts if necessary).  I've got less
knowledge of udev, but it builds the /dev database and makes all the
necessary nodes with appropriate permissions and synonyms.  I don't have a
clue what HAL & DBUS do, but if they aren't integral to both of these yet,
they will be.  They are integral to pmount - which is the (an?) other part
of the story.
-- 
derek



Reply to: