Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/devsd-setsense/files
/sys/src/9/port/devsd.c devsd.c