Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2025 13:18:48 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        current@freebsd.org
Subject:   sysctl to prevent reboot?
Message-ID:  <o2o49n7o-793n-q70n-s017-5q9508r363q7@yvfgf.mnoonqbm.arg>

index | next in thread | raw e-mail

Hi,

I am not sure where but I thought I saw a change fly by which would
prevent a shutdpwn -r /reboot (and possibly halt?) from being executed
while a sysctl was set.

Does anyone have a reference or have I been dreaming?

I would find that very helpful for host systems running (multiple) bhyve
instances.  Happened twice to me recently that I typed reboot in the wrong
window and restarted my dev machine entirely rather than a guest.

/bz

-- 
Bjoern A. Zeeb                                                     r15:7


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?o2o49n7o-793n-q70n-s017-5q9508r363q7>