]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/udev/udevadm-info.c
udev: export tags of "dead" device nodes to /run/udev/static_node-tags/
authorTom Gundersen <teg@jklm.no>
Sun, 7 Jul 2013 16:32:34 +0000 (18:32 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 16 Jul 2013 18:07:57 +0000 (20:07 +0200)
commit84b6ad702e64db534f67ce32d4dd2fec00a16784
tree25e12d25a38a708f24354fae4fed2770a4362c81
parent6cf2f1d94dc7749bcdff5385838bdc8eba9c3001
udev: export tags of "dead" device nodes to /run/udev/static_node-tags/

Based on a patch by Kay Sievers.

A tag is exported at boot as a symlinks to the device node in the folder
/run/udev/static_node-tags/<tagname>/, if the device node exists.

These tags are cleaned up by udevadm info --cleanup-db, but are otherwise
never removed.
man/udev.xml
src/login/70-uaccess.rules
src/udev/udev-rules.c
src/udev/udev.h
src/udev/udevadm-info.c
src/udev/udevd.c