Auto-mounting of USB drives

Lee Willis lee at leewillis.co.uk
Wed Jul 7 13:44:32 PDT 2004


On Wed, 2004-07-07 at 21:01, Sean Middleditch wrote:
> On Wed, 2004-07-07 at 15:50, Lee Willis wrote:
> > I've scanned the archives, and googled to death but haven't managed to
> > find an answer to my query - if there's something that will answer these
> > then a pointer would be great.
> 
> HAL doesn't mount devices.  HAL just provides information to
> applications that want to query the devices on the system.  You need a
> policy engine like gnome-volume-manager to automatically mount file
> systems.

Ok - I'd tried with/without gnome-volume-manager running and got no joy.
With g-v-m running I get the following output which probably hints at a
borked dbus/hal setup?

>From hal:
[W] hald_dbus.c:121 raise_no_such_property() : No property
info.capabilities on device with id
/org/freedesktop/Hal/devices/usb_781_5150_10_-1_SNDK2F071433A5500608
[W] hald_dbus.c:121 raise_no_such_property() : No property
info.capabilities on device with id
/org/freedesktop/Hal/devices/usbif_usb_781_5150_10_-1_SNDK2F071433A5500608_0
[W] hald_dbus.c:121 raise_no_such_property() : No property
info.capabilities on device with id
/org/freedesktop/Hal/devices/scsi_host_7
[I] hald.c:73 gdl_store_changed() : Added device to GDL;
udi=/org/freedesktop/Hal/devices/scsi_device_7_0_0_0
[I] linux/class_device.c:325 class_device_got_sysdevice() : Entering
d=0x907c170, sysdevice=0x8f1bc38!
[W] hald_dbus.c:121 raise_no_such_property() : No property
info.capabilities on device with id
/org/freedesktop/Hal/devices/scsi_device_7_0_0_0[W]
linux/class_device.c:279 class_device_got_parent_device() : No parent
for class device at sysfs path /org/freedesktop/Hal/devices/temp/77
 
gnome-volume-manager:
libhal.c 800 : Error sending msg: No property info.capabilities on
device with id
/org/freedesktop/Hal/devices/usb_781_5150_10_-1_SNDK2F071433A5500608
libhal.c 800 : Error sending msg: No property info.capabilities on
device with id
/org/freedesktop/Hal/devices/usbif_usb_781_5150_10_-1_SNDK2F071433A5500608_0
libhal.c 800 : Error sending msg: No property info.capabilities on
device with id /org/freedesktop/Hal/devices/scsi_host_7
libhal.c 800 : Error sending msg: No property info.capabilities on
device with id /org/freedesktop/Hal/devices/scsi_device_7_0_0_0

Basically I have the following setup:

- Fedora Core 2 with standard dbus install (0.20-4.1)
- HAL installed from CVS under /usr/local
- gnome-volume-manager from CVS under /usr/local

My /etc/fstab doesn't seem to get updated by the fstab-update.sh
callout.

As far as I could tell I followed all of the build instructions.

Thanks for the feedback
Lee
-- 
Lee Willis <lee at leewillis.co.uk>


_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list