From: David Herrmann Date: Fri, 20 Mar 2015 11:28:12 +0000 (+0100) Subject: rules: avoid 'device/' accesses X-Git-Tag: v219.0~258 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9a2e1571c0d535ee784cd0401f1086d790c7650b;hp=9a2e1571c0d535ee784cd0401f1086d790c7650b;p=elogind.git rules: avoid 'device/' accesses We should never access parents, as the sysfs hierarchy is in no way stable. Use KERNELS== etc. to match on a parent, then access it via $attr{} (which accesses the matching device, not the current device). ---