Re: revisiting tunables under Safe Mode menu option

看板FB_current作者時間14年前 (2012/03/02 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串28/29 (看更多)
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? _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1FJ_Za0H (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1FJ_Za0H (FB_current)