A critical look at sysfs attribute values
A critical look at sysfs attribute values
Posted Mar 18, 2010 7:47 UTC (Thu) by ptman (subscriber, #57271)In reply to: A critical look at sysfs attribute values by adamgundy
Parent article: A critical look at sysfs attribute values
could probably be done if the user is willing to jump through some hoops.
For example, a sysfs directory might contain the separate files for separate
values and a file called "snapshot" which, when written to, would create a
subdirectory (which probably would need a unique name, and reading the
unique name from the snapshot-file would probably require file locking...)
with the separate files frozen to a specific point in time.
I'm probably missing something here and the idea is too complicated to
actually be used in the real world, I'm just trying to say that it might be
solved, but the solution wouldn't be very nice.