jon parise // saturday, january 19, 2019

FreeBSD Stuff

FreeBSD is "an advanced BSD UNIX operating system." It's also my personal preference when it comes to Unix-like operating systems. What follows are my various FreeBSD-related hacks and patches.


I thought it would be useful to have a sysctl for disabling the keyboard reboot sequence. This functionality is currently available through the SC_DISABLE_REBOOT config option, but it's convenient to have this capability available at runtime, too.

Note that investigation revealed that OpenBSD has a similar sysctl named machdep.kdbreset. I prefer machdep.disable_reboot_key, but I'm not against changing it for feel-good compatibility reasons.