Home » Questions » Computers [ Ask a new question ]

how get hal running on ubuntu server?

how get hal running on ubuntu server?

I want to try to create a very minimized server installation which automatically mounts its internal SATA disks. Thus, I thought of using HAL as the way to go. As far as I read, HAL is just a daemon 'listening' for hardware changes and broadcasts the changes if they match a .fdi config file via dbus to its clients.

Asked by: Guest | Views: 339
Total answers/comments: 1
bert [Entry]

"HAL is a communication & message passing layer -- I'm honestly unsure of where DBus stops and HAL starts. It's mostly used as a layer between DBus and the Desktop Environment, but it doesn't have any GUI component that requires the DE to operate.

For a headless server installation you'd want to use HALevt. HALevt is a daemon that sits on top of HAL, much like Gnome-VFS does in the Gnome DE, and responds to hardware events. It can be configured to run as a system-wide daemon or as an individual user. See an answer I wrote to an earlier question about using HALevt to provide Gnome-VFS-like automounting for CDs and USB drives on a headless server. This should give you the basic how-to, although your situation would probably require some tweaking.

whitequark's answer -- setting up your normal mounts via /etc/fstab -- is better if your system's internal drives will not be setup for hotswapping. Using HALevt for mounting static internal disks is doable, but more complicated than it needs to be. But if you do have hotswap bays and you want to use them, using HALevt for automounting might be a good option for you."