chiark / gitweb /
udevd: create static device links only when the target exists
authorYin Kangkai <kangkai.yin@intel.com>
Thu, 5 Aug 2010 08:17:00 +0000 (16:17 +0800)
committerMartin Pitt <martin.pitt@ubuntu.com>
Sun, 8 Aug 2010 18:35:46 +0000 (20:35 +0200)
commit08f11597f2618d46b23f0e747a41a0ee960bcf1b
tree910a9cd7760491a283ee1c375a8857cc2492ab53
parent40929a0222bbc82459c6418b03d51790ca65d74b
udevd: create static device links only when the target exists

For example, not all systems have PROC_KCORE enabled. Avoid a broken symbolic
link in those cases.

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
udev/udevd.c