Hi Mike, Mike O'Connor [2007-06-10 11:38 -0400]: > Sorry for taking so long to reply. The default configuration installed > by ivman does in fact use pmount-hal in order to automount plugged > volumes. > > Does the current hal have anything like a drop-in replacement? I > couldn't find one. A quick look at what gnome and kde were doing didn't > find me a easy replacement.
They just directly call the hal functions to mount/umount. You should look at src.manager.c, gvm_device_mount() and gvm_device_unmount() in gnome-volume-manager how to call them. The gnome-mount source has similar, but a bit more elaborate code to support supplying custom mount options. Anyway, this is something that should be done upstream. Thanks, Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org
signature.asc
Description: Digital signature