From 834858d5bc276ab962e717369eff7465285563af Mon Sep 17 00:00:00 2001
From: Daniel Barlow <dan@telent.net>
Date: Wed, 24 Apr 2024 18:33:57 +0100
Subject: [PATCH] think

---
 THOUGHTS.txt | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/THOUGHTS.txt b/THOUGHTS.txt
index 7e079374..f59b168d 100644
--- a/THOUGHTS.txt
+++ b/THOUGHTS.txt
@@ -4722,11 +4722,15 @@ I think we could make the event loop abstraction leak less?
 It's not actually a _loop_, all the actual GOTO 10 happens
 outside of it
 
-1) see if we can do netlink in lualinux
-2) if so, convert it to lualinux
-3) add netlink socket to event loop
-4) make it send messages to subscribers
+[X] 1) see if we can do netlink in lualinux
+[X] 2) if so, convert it to lualinux
+[X] 3) add netlink socket to event loop
+[X] 4) make it send messages to subscribers
 5) package it
-6) make inout test use it instead of uevent-watcher
+6) make uevent-watcher use it instead of netlink directly
 7) write an inout test variant that has the stick inserted
   at boot time already
+
+I'm also thinking we could wrap the raw fds from lualinux into small
+objects with read and close methods? It would make testing easier if
+nothing else - also use of with-open.  Maybe do that in anoia.