Questions on physdev vs. classdev

Joe Marcus Clarke marcus at FreeBSD.org
Tue Jan 24 13:25:28 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Artem Kachitchkine wrote:
> 
>> Additionally, FreeBSD doesn't register hotplug events for SCSI devices
>> (e.g. disks, tapes, CD-ROMS, etc.).  What I'm doing now is upon
>> detection of such a device, I add the blockdev, then fire off hotplug
>> events for the various slices and partitions.  In essence, I have events
>> within events.  Is this legal?
> 
> Sure, as long as your events are in correct order - branches should be
> added top-down: first block device, then it's children, recursively.
> 
> Again, events that the HAL backend consumes are really an OS artifact,
> all that matters to the applications is events that HAL emits in the
> forme of D-BUS signals.

Thanks for this clarification.  This makes much more sense now.  This
also will make things much easier.

Joe

- --
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFD1ptHb2iPiv4Uz4cRAglPAJYr/Ek0nYqP3do+qZhZGMqB/GryAJ4+nI2S
cMLig2/rozPwIxbtZ6mIKg==
=Pj41
-----END PGP SIGNATURE-----


More information about the hal mailing list