hal-find-by-property and boolean keys

Brian Pitts brian at polibyte.com
Mon Aug 24 20:40:37 PDT 2009


Hi,

I tried using the following to detect whether blank media was in a
computer's dvd-rw drive, but even when media was present no devices were
returned.

hal-find-by-property  --key "storage.removable.media_available" --string
"true"

I see that this key has a boolean value rather than a string value. Is
there any way to use hal-find-by-property or a similar comand to search
for devices via non-string properties?

-- 
All the best,
Brian Pitts


More information about the hal mailing list