LWN.net Logo

A critical look at sysfs attribute values

A critical look at sysfs attribute values

Posted Mar 22, 2010 22:32 UTC (Mon) by neilbrown (subscriber, #359)
In reply to: A critical look at sysfs attribute values by ranmachan
Parent article: A critical look at sysfs attribute values

Apart from any consistency problems mentioned elsewhere, this approach really just hides the problem rather than solving it.

It still has many values behind 1 (or 3) attribute files. If the "one value per file" policy stands, it is the wrong thing to do. If the "one value per file" policy can be extended to support arbitrarily large values, then implementing that policy extension through seqfile or similar would be a much more sensible resolution.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds