chiark / gitweb /
[PATCH] udevinfo patch
authordsteklof@us.ibm.com <dsteklof@us.ibm.com>
Thu, 25 Mar 2004 01:34:38 +0000 (17:34 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:10 +0000 (21:35 -0700)
commita291a14b9062339134c561453cfbb2409713582d
treeb3db9ba049726866dcbf84375125027d8c3fe809
parentddd5b5dc4890d40b7ed412e9de52b33e62447f78
[PATCH] udevinfo patch

I think this is what you want for udevinfo. Patched against the latest BK
tree. I tested it and it seemed to work.

One other question, shouldn't udevinfo.c:print_all_attributes() check to
make sure attr->method is SYSFS_METHOD_SHOW along with checking to see
if attr->value != NULL or doesn't that matter?

Here's the libsysfs fix for print_device_chain():
udevinfo.c