chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 07:06:45 +0000 (08:06 +0100)
commitcce593bad53de280f0d69dbc24c8be420b185b95
tree6da843af6981d6355fb60dec524808da854355cb
parentbf5b19bad35f6b8b3bbf8b34e98ab3f79aeb6d93
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/systemd/sd-device.h