HAL wiki faq: how to automount hotpluggable devices
Patrice Dumas
pertusus at free.fr
Wed Apr 25 00:19:34 PDT 2007
On Tue, Apr 24, 2007 at 03:29:45PM -0700, Artem Kachitchkine wrote:
> >This is for an embedded application without any desktop managers involved.
>
> You can use ivman. Or write your own tiny HAL event handler, shouldn't be
> more than a thousand LOC of C. If your project is GPL, perhaps you can
> borrow some routines from gnome-volume-manager, see src/manager.c:
> gvm_hal_init(), hal_device_added(), block_device_added().
I already did something approaching in halevt, there is halevt-mount
that should do what gnome-volume-manager does. halevt-mount also keeps a list
of the devices it handles. And halevt itself is meant to be an ivman
replacement.
http://www.environnement.ens.fr/perso/dumas/halevt.html
--
Pat
More information about the hal
mailing list