Bug 181134

Summary: Fix example for boot0cfg utility
Product: Documentation Reporter: Vadim K. <vadim>
Component: Manual PagesAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: doc, felix.the.red
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Vadim K. 2013-08-08 08:40:02 UTC
Documentation at:
http://www.freebsd.org/cgi/man.cgi?query=boot0cfg&sektion=8

Section: EXAMPLES contains example of getting back to non-interactive booting by 
fdisk -B ad0

But this example will not work without setting kern.geom.debugflags=16

Fix: 

Please, add extra lines to this example. Like:

-------------------------------------------
sysctl kern.geom.debugflags=16
fdisk -B ad0
sysctl kern.geom.debugflags=0
-------------------------------------------

Probably it will save a lot of time for people searching why fdisk -B ad0 not workig ....
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:32 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Felix Johnson freebsd_triage 2021-09-30 07:00:41 UTC
This boot0cfg(8) example has used gpart instead of fdisk since 2015 ( base r287396 ).