Files
mcde/include/Mcde
lotherk d2ada23e5a McdeSys: device events on NetBSD through drvctl(4) DRVGETEVENT
mcde_sys_disk_events() opens /dev/drvctl O_NONBLOCK on NetBSD; the
events come as an ioctl, not read(2), so the new
mcde_sys_disk_event_read() is the one call a program uses: Linux reads
the uevent, NetBSD asks DRVGETEVENT and turns the property list into the
same 'device-attach sd0' line (the way devpubd(8) does it).  dtwm's
desktop and test_sysinfo use the new call; the cross compiler builds
events.c and netbsd.c for NetBSD and the Linux tests stay green.
2026-11-16 07:25:28 +00:00
..