how ubuntu automatically mount usb disk?

Oliver Grawert ogra at ubuntu.com
Sun Jul 19 09:17:13 UTC 2009


hi,
On So, 2009-07-19 at 16:56 +0800, loody wrote:
> Dear all:
> I am quite curious how ubuntu automatically mount usb disk?
udev gets device events from your kernel and forwards these triggers to
hal (from karmic (9.10) on it will forward to devicekit-disks since hal
is obsolete now and not being developed anymore [1])
hal will then be sending an event message to the dbus. 
in the desktop session gvfs listens on the dbus for such messages and
finally mounts the device.

so you should read up about udev, hal/devicekit, dbus messaging and gvfs

ciao
	oli

[1] https://wiki.ubuntu.com/Halsectomy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090719/ec176468/attachment.sig>


More information about the ubuntu-users mailing list