Re: revisiting tunables under Safe Mode menu option

From: Julian Elischer <julian_at_freebsd.org>
Date: Thu, 01 Mar 2012 13:52:05 -0800
On 3/1/12 1:35 PM, Devin Teske wrote:
> Right, making the assumption that FreeBSD's safe mode will do the same thing as
> Windows' safe mode is a poor assumption.
>
> As you point out, all those things that Windows safe mode does, FreeBSD does
> not.
>
> X11 drivers are not affected by safe mode.
>
> Network is not affected by safe mode.
>
> Services started at boot, are not affected...
>
> So I would welcome discussions involving development of something better (and am
> willing to help).

but, with help from the rc people. it could..
the kenv framework gives us a much more flexible way to implement the 
sysV runlevels that linux inherrited.

here's what I would envision:

a single safe mode switch
a way to control what that does (either 'safe mode' drops you to 
another menu which includes
"boot safe mode:" and "configure safe mode" (the second one drops you 
to yet another menu of check boxes).

the result of this is a preconfigured set of kenv entries being dumped 
into the kenv space.

The rc system can look at the kenv space for some key entries and act 
accordingly.
it can also SAVE to /boot/safe_mode.conf the set of kenv entries 
selected when safe mode is used,
and the forth code can load that and use it as a default on next 
'safe' mode usage.


BTW do we use the forth boot stuff on all architectures?
what of NFS boots?
Received on Thu Mar 01 2012 - 20:52:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC