I needed to add a custom System Request (Sys Req or SysRq) to a linux kernel some time ago. While doing so, I dug deep into how it works and I thought I’d make a quick post about it. Here is a good SuperUser answer about what a SysRq is. You may also know about SysRq via REISUB. This post has three parts: how to raise a SysRq, how SysRq works (looking into kernel code), and how to add your own SysRq.
The BSD book does seem interesting from a historical perspective, BSD is one of Ye Olden UN*X distros after all. Thanks for the recommendations! I think I’ll try to get my hands on a dead trees version of the BSD book.
Oh and did you specifically mean “The Design and Implementation of the 4.4BSD Operating System”? Looks like there’s one for FreeBSD as well
Yes that’s the book, though I read a older version initially.
I haven’t read the free BSD version, I wonder if there’s a Linux version? That would be interesting too
Singapore eh?
Could have just left me alone 😔