liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7aa8633cded4156ae9a0cdd74d096490f494c170
parent 58bec8a40f49104db1b3143630c5163ddea87263
Author: Daniel Barlow <dan@telent.net>
Date:   Tue, 28 May 2024 23:41:03 +0100

think

Diffstat:
MTHOUGHTS.txt | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/THOUGHTS.txt b/THOUGHTS.txt @@ -4969,3 +4969,19 @@ find /sys/devices -type f | while read F ; do test -d $D || mkdir -p $D test -r $F && cat $F > /tmp/$F done + +Tue May 28 20:58:58 BST 2024 + +To make testing easier, we pass the /sys mount point as a param +to (sysfs) via (database) + +This means that for event:match to work with attributes, the event +also has to point back to the database, or at least to sysfs. However +we'd like to do the attr tests after the regular uevent key tests +and the attrs tests after even that, because they're that mich slower. + +----- + +Let's change it up. The database contains kobjects not events. A +kobject knows its mountpoint as well as its path, and implements the +attr and attrs methods