]> err.no Git - systemd/commit
udevd: use dev_t or netif ifindex as database key
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 10 Dec 2010 00:13:35 +0000 (01:13 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 10 Dec 2010 00:18:15 +0000 (01:18 +0100)
commit4281da1fa6fda10c15bee984825fc607a8385004
treec92eaab4296a31bcccd754dc2b23410025158ef1
parentdc1791a9e6b59bd070a5f9c01b2214a1f8d69a82
udevd: use dev_t or netif ifindex as database key

We need to preserve the database of network interfaces while we
rename them. Use the kernel's numbers wherever possible, instead
of the device names.

Fix wrong database filenames which contain a '/', translated
from '!' in the kernel name.

Fix segfault for kobject pathes where the subsystem can not be
determined from sysfs.
Makefile.am
libudev/libudev-device-private.c
libudev/libudev-device.c
libudev/libudev-private.h
udev/udev-event.c
udev/udev-node.c
udev/udev-watch.c
udev/udevadm-info.c
udev/udevadm.xml