From wblock@wonkity.com  Thu Apr 19 03:56:32 2007
Return-Path: <wblock@wonkity.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 99A1216A402
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Apr 2007 03:56:32 +0000 (UTC)
	(envelope-from wblock@wonkity.com)
Received: from wonkity.com (wonkity.com [67.158.26.137])
	by mx1.freebsd.org (Postfix) with ESMTP id 8908213C45A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 19 Apr 2007 03:56:31 +0000 (UTC)
	(envelope-from wblock@wonkity.com)
Received: from speedy.wonkity.com (speedy.wonkity.com [10.0.0.7])
	by wonkity.com (8.14.1/8.14.1) with ESMTP id l3J3RsE7074329
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 Apr 2007 21:27:54 -0600 (MDT)
	(envelope-from wblock@speedy.wonkity.com)
Received: from speedy.wonkity.com (localhost [127.0.0.1])
	by speedy.wonkity.com (8.13.8/8.13.8) with ESMTP id l3J3RsL6063141
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 18 Apr 2007 21:27:54 -0600 (MDT)
	(envelope-from wblock@speedy.wonkity.com)
Received: (from wblock@localhost)
	by speedy.wonkity.com (8.13.8/8.13.8/Submit) id l3J3RsTf063140;
	Wed, 18 Apr 2007 21:27:54 -0600 (MDT)
	(envelope-from wblock)
Message-Id: <200704190327.l3J3RsTf063140@speedy.wonkity.com>
Date: Wed, 18 Apr 2007 21:27:54 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>
Reply-To: Warren Block <wblock@wonkity.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: boot0cfg man page lacks how to reset to non-interactive MBR [patch]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         111840
>Category:       docs
>Synopsis:       boot0cfg(8) man page lacks how to reset to non-interactive MBR [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 19 04:00:11 GMT 2007
>Closed-Date:    Sat May 19 11:11:10 GMT 2007
>Last-Modified:  Sat May 19 11:11:10 GMT 2007
>Originator:     Warren Block
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD speedy.wonkity.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Apr 9 16:45:44 MDT 2007 root@speedy.wonkity.com:/usr/obj/usr/src/sys/SPEEDY i386

>Description:
	boot0cfg man page lacks description of how to switch back from
	the interactive boot0 to a non-interactive MBR.

>How-To-Repeat:
	man boot0cfg
>Fix:
	Apply this patch:

--- boot0cfg.8.old	Wed Apr 18 20:58:37 2007
+++ boot0cfg.8	Wed Apr 18 21:20:00 2007
@@ -88,7 +88,9 @@
 .Pa /boot/boot0sio
 can be used for output to the COM1 port.
 (Be aware that nothing will be output to the COM1 port unless the
-modem signals DSR and CTS are active.)
+modem signals DSR and CTS are active.)  Use
+.Pa /boot/mbr
+to go back to non-interactive booting.
 .It Fl d Ar drive
 Specify the drive number used by the PC BIOS in referencing the drive
 which contains the specified
@@ -152,6 +154,8 @@
 image
 .It Pa /boot/boot0sio
 Image for serial consoles (COM1,9600,8,N,1,MODEM)
+.It Pa /boot/mbr
+Non-interactive boot MBR image
 .El
 .Sh EXIT STATUS
 .Ex -std
@@ -163,6 +167,11 @@
 To enable just slices 1 and 2 in the menu:
 .Pp
 .Dl "boot0cfg -m 0x3 ad0"
+.Pp
+To go back to non-interactive booting:
+.Pp
+.Dl "boot0cfg -B -b /boot/mbr"
+.Pp
 .Sh SEE ALSO
 .Xr geom 4 ,
 .Xr boot 8 ,
>Release-Note:
>Audit-Trail:
Adding to audit trail from misfiled PR docs/111842:

Date: Wed, 18 Apr 2007 22:25:46 -0600 (MDT)
From: Warren Block <wblock@wonkity.com>

 Bugfixed patch:
 
 --- boot0cfg.8.old	Wed Apr 18 20:58:37 2007
 +++ boot0cfg.8	Wed Apr 18 21:47:37 2007
 @@ -88,7 +88,9 @@
   .Pa /boot/boot0sio
   can be used for output to the COM1 port.
   (Be aware that nothing will be output to the COM1 port unless the
 -modem signals DSR and CTS are active.)
 +modem signals DSR and CTS are active.)  Use
 +.Pa /boot/mbr
 +to go back to non-interactive booting.
   .It Fl d Ar drive
   Specify the drive number used by the PC BIOS in referencing the drive
   which contains the specified
 @@ -152,6 +154,8 @@
   image
   .It Pa /boot/boot0sio
   Image for serial consoles (COM1,9600,8,N,1,MODEM)
 +.It Pa /boot/mbr
 +Non-interactive boot MBR image
   .El
   .Sh EXIT STATUS
   .Ex -std
 @@ -163,6 +167,11 @@
   To enable just slices 1 and 2 in the menu:
   .Pp
   .Dl "boot0cfg -m 0x3 ad0"
 +.Pp
 +To go back to non-interactive booting:
 +.Pp
 +.Dl "boot0cfg -B -b /boot/mbr ad0"
 +.Pp
   .Sh SEE ALSO
   .Xr geom 4 ,
   .Xr boot 8 ,
State-Changed-From-To: open->patched 
State-Changed-By: pav 
State-Changed-When: Sat May 12 10:33:35 UTC 2007 
State-Changed-Why:  
Committed, thanks! Will MFC later. 


Responsible-Changed-From-To: freebsd-doc->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sat May 12 10:33:35 UTC 2007 
Responsible-Changed-Why:  
Committed, thanks! Will MFC later. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111840 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/111840: commit references a PR
Date: Sat, 12 May 2007 10:40:27 +0000 (UTC)

 pav         2007-05-12 10:40:20 UTC
 
   FreeBSD src repository (doc,ports committer)
 
   Modified files:
     usr.sbin/boot0cfg    boot0cfg.8 
   Log:
   Document /boot/mbr (non-interactive boot block)
   
   PR:             doc/111840
   Submitted by:   Warren Block <wblock@wonkity.com>
   MFC after:      1 week
   
   Revision  Changes    Path
   1.30      +10 -0     src/usr.sbin/boot0cfg/boot0cfg.8
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: pav 
State-Changed-When: Sat May 19 11:11:00 UTC 2007 
State-Changed-Why:  
MFC'ed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111840 
>Unformatted:
