(Created page with "= systemd/udev Hardware Database = == Summary == The '''udevd''' service has a long history of managing kernel devices. Besides generating events when devices are discovered ...") |
mNo edit summary |
||
Line 45: | Line 45: | ||
* See [[Talk:Features/SystemdHardwareDatabase]] | * See [[Talk:Features/SystemdHardwareDatabase]] | ||
[[Category:FeatureReadyForWrangler]] |
Revision as of 23:11, 17 January 2013
systemd/udev Hardware Database
Summary
The udevd service has a long history of managing kernel devices. Besides generating events when devices are discovered or removed it maintains a dynamic, stateless database of all available devices including meta data about them. With Fedora 19 we want to substantially enhance the metadata that udev keeps for each device, by augmenting it from a userspace database of non-essential information, that is indexed by device identification data such as PCI/USB vendor/product IDs.
Owner
- Name: Kay Sievers
- Email: kay at redhat dot com
Current status
- Targeted release: Fedora 19
- Last updated: 2012-01-17
- Percentage of completion: 100%
Detailed Description
The idea is to centralize a lot of static metadata that is currently kept in the PCI, USB, ACPI, Bluetooth, OUI vendor/product string lists in a indexed database and then attach it directly to the devices as they are probed. The lookup key is the "modalias" string exposed by devices, which is also used to find the right kernel modules for a device. The device meta data is kept in an indexed, binary database so that looking up this data is substantially faster than it used to be. In the longer run, this binary database shall also include other non-essential meta data about devices, for example information about the type of USB disks (i.e. is this USB mass storage device an SD reader?) and suchlike.
Benefit to Fedora
Applications can use this useful meta data simply by querying the udev properties.
Device probing gets a bit faster since we can look up a lot of data in an indexed database now, rather than having to match it individually with udev rules.
Scope
Only needs changes in systemd upstream.
How To Test
Play around with "udevadm hwdb". For more information, see the man page.
User Experience
This is not visible to the user.
Dependencies
Nothing.
Contingency Plan
Nothing.
Documentation
Not yet.
Release Notes
No need for additions.