sd-device: enumerator - match only on initialized devices by default
authorTom Gundersen <teg@jklm.no>
Fri, 17 Apr 2015 12:11:00 +0000 (14:11 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 17 Apr 2015 12:16:16 +0000 (14:16 +0200)
commitdee5e0b6c29ca22cbf67d28fbee195d70b0dde72
tree9b168fad51bc28c0e12efcc4847eb5293eddad2e
parent19c9df44921bd4788bba608e9d0756f4fb1d5f89
sd-device: enumerator - match only on initialized devices by default

It is still possible to include uninitialized ones, but now that is opt-in. In most
cases people only want initialized devices. Exception is if you want to work without
udev running.

Suggested by David Herrmann.
src/libsystemd/sd-device/device-enumerator-private.h
src/libsystemd/sd-device/device-enumerator.c
src/libudev/libudev-enumerate.c
src/systemd/sd-device.h