loader.conf setting ignored

Craig Boston craig at feniz.gank.org
Thu Nov 10 18:04:38 PST 2005


On Thu, Nov 10, 2005 at 03:57:56PM -0500, Ben Kelly wrote:
> So it turns out you can set kern.geom.debugflags from loader.conf.  The 
> gvinum mirror problem I was trying to debug was causing the problem. 
> Edits to loader.conf were only being written to the second disk, but the 
> loader was reading the first disk during boot.  After manually copying 
> /boot over it worked fine.  Just thought I would mention that for the 
> archives.

Just a tip that may help in circumstances like this.  Anything that can
be set from loader.conf (or device.hints for that matter) can also be
set from the loader prompt:

set kern.geom.debugflags=XXX

...of course in your case it looked like the values _were_ being set,
but it can be handy when loader.conf is difficult or impossible to edit.

Craig


More information about the freebsd-stable mailing list