[Bug 14495] udev sends multiple add/remove events in quick succession

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Thu Sep 29 14:05:50 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=14495
Ubuntu | linux





------- Additional Comments From ubuntu.com at schildbach.de  2005-09-29 15:05 UTC -------
I did some investigation into the DEVPATHs. The following sequence describes the
invocations of hal-unmount.dev during one physical insertion of the card, and
the respective contents of two environment variables that contain the DEVPATH.

It looks like if we ignore the first invocation, DEVPATHs are all equal. The
last "add" however, does _not_ result in the partition being mounted. So
according to comment #58 we have an udev bug.

hal-unmount.dev 'add' '/dev/hdc'
DEVPATH=/block/hdc
PHYSDEVPATH=/devices/ide1/1.0

hal-unmount.dev 'add' '/dev/hdc1'
DEVPATH=/block/hdc/hdc1
PHYSDEVPATH=/devices/ide1/1.0

hal-unmount.dev 'remove' '/dev/hdc1'
DEVPATH=/block/hdc/hdc1
PHYSDEVPATH=/devices/ide1/1.0

hal-unmount.dev 'add' '/dev/hdc1'
DEVPATH=/block/hdc/hdc1
PHYSDEVPATH=/devices/ide1/1.0

hal-unmount.dev 'remove' '/dev/hdc1'
DEVPATH=/block/hdc/hdc1
PHYSDEVPATH=/devices/ide1/1.0

hal-unmount.dev 'add' '/dev/hdc1'
DEVPATH=/block/hdc/hdc1
PHYSDEVPATH=/devices/ide1/1.0

hal-unmount.dev 'remove' '/dev/hdc1'
DEVPATH=/block/hdc/hdc1
PHYSDEVPATH=/devices/ide1/1.0

hal-unmount.dev 'add' '/dev/hdc1'
DEVPATH=/block/hdc/hdc1
PHYSDEVPATH=/devices/ide1/1.0

hal-unmount.dev 'remove' '/dev/hdc1'
DEVPATH=/block/hdc/hdc1
PHYSDEVPATH=/devices/ide1/1.0

hal-unmount.dev 'add' '/dev/hdc1'
DEVPATH=/block/hdc/hdc1
PHYSDEVPATH=/devices/ide1/1.0

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list