macOS does it on reboot, not sure if it inherited this from BSD proper
There's this idea that macOS is "based on BSD", but that's not really the case in any meaningful way; it took some components, but the system overall isn't really "based on it" as such.