strange interaction with partprobe and HAL 0.5.5.1

Kay Sievers kay.sievers at vrfy.org
Thu Jul 6 04:37:59 PDT 2006


On Wed, 2006-07-05 at 13:23 -0700, John Galloway wrote:
> This is an old version, but was wondering if anyone has
> run into this.  If I run partprobe against a device HAL
> emits alternating device removed and device added events
> for it.  i.e. the odd times (first, 3rd, ...) I get device
> added and the even times (2nd, 4th, ..) I get a device
> removed, for the same device.  once in a while I get
> both.  i.e. this seems badly broken.  Does this ring any
> bells with anyone?

Partprobe triggers a partititon table scan, which instructs the kernel
to remove and re-add all partitin block devices. HAL will also remove
and add the device object with this action.

You can watch the kernel events with "udevmonitor" while running the
partiton table scan.

Kay



More information about the hal mailing list