hi i try to create a very minimized server installation which automounts its internal sata disks thus i tought of using hal as the way to go as far as i read, hal is just a daemon 'listening' for hardware changes and in case of broadcasts the changes if they match a .fdi config file via dbus to its clients the point is, which client can i use on a server install? i read about gnome-volume-manager as a possibility but as i see it wants to open a graphical display, which i dont need on a server install (even its just a software-display)
so any hints for further direction or are there any alternative dbus clients which are able to execute hal events?
thx
EDIT:
finally i got it work, but without hal/devicekit/gnome.... now im using basic udev rules and RUN commands to mount the disks
# /etc/udev/rules.d/local.rules
# /etc/udev/rules.d/89-local.rules
# ADD rule: if we have a valid ID_FS_USAGE, and it's a filesystem with a UUID, mkdir and mount
ENV{ID_FS_USAGE}=="filesystem", ENV{ID_FS_UUID_ENC}=="?*", ACTION=="add", RUN="/bin/mkdir -p /media/$env{ID_FS_UUID_ENC}" RUN+="/bin/mount -t auto /dev/%k /media/$env{ID_FS_UUID_ENC}" RUN+="/media/$env{ID_FS_UUID_ENC}/autostart.sh"
on ubuntu put this in the file /lib/udev/rules.d/89-local.rules on debian it should /etc/udev/rules.d i also added the possibility to run an autostart.sh script during boot e.g. to start services only available on specific disks
thx goes to