removable drives no longer automount after upgrade to dapper

Florian Diesch diesch at spamfence.net
Sat Jun 17 17:35:29 UTC 2006


peeble <ulist at gs1.ubuntuforums.org> wrote:

> Further to my earlier post, I get the idea that hotplug has now been
> dropped and that dapper uses udev and pmount? If so, woudn't they have

Yes, dapper droppt the hotplug package. All hotplugging is now handled
by udev. udev itself only handles device creation and things like that
and then calls HAL. HAL then collects informations about the new device
and decides what to do (e.g. using pmount to mount storage devices).


> been installed during the upgrade? 

udeb has been there in breezy too but did only a part of the thing it's
doing in dapper.


> I'm still puzzled as to what I need to do to get it working...

The first step is to look at the logfile when you plug in a device:
  sudo tail -f /var/log/messages
It should show something like
 Jun 17 19:28:43 localhost kernel: sd 0:0:0:0: Attached scsi removable disk sda
 Jun 17 19:28:43 localhost kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
after a few seconds

lshal then shows you the information HAL collected about you system. It
has different sections for each of your hardware devices.

The files in /usr/share/hal/fdi/policy/ tell HAL what to do if it
recognises a particular device. For storage devices look at
/usr/share/hal/fdi/policy/10osvendor/10-storage-policy.fdi 





   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list