From nobody@FreeBSD.org  Tue Jan 27 20:14:06 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 94A431065670
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Jan 2009 20:14:06 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8119D8FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Jan 2009 20:14:06 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0RKE6vZ086460
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Jan 2009 20:14:06 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n0RKE69N086459;
	Tue, 27 Jan 2009 20:14:06 GMT
	(envelope-from nobody)
Message-Id: <200901272014.n0RKE69N086459@www.freebsd.org>
Date: Tue, 27 Jan 2009 20:14:06 GMT
From: Brock Williams <brock@cotcomsol.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] tinybsd MFSROOT option suggests YES/NO but only accepts yes/no
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         131059
>Category:       misc
>Synopsis:       [tinybsd] [patch] tinybsd MFSROOT option suggests YES/NO but only accepts yes/no
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 27 20:20:02 UTC 2009
>Closed-Date:    
>Last-Modified:  Tue Jan 27 22:11:29 UTC 2009
>Originator:     Brock Williams
>Release:        7.1-RELEASE
>Organization:
Cottonwood Computer Solutions
>Environment:
FreeBSD freebsd-irewards.cotcomsol.com 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The tinybsd tool when prompting for config settings prompts for the MFSROOT option and suggests the options are YES/NO.  If you say YES, though, it ignores your desire to have an MFSROOT as it checks the value = 'yes'.
>How-To-Repeat:
Run tinybsd script and answer YES to the "Use an MFSROOT? (YES/NO)" prompt
>Fix:
patch attached to change (YES/NO) to (yes/no)

Patch attached with submission follows:

--- /tmp/tinybsd	2009-01-27 20:07:59.000000000 -0700
+++ /usr/src/tools/tools/tinybsd/tinybsd	2008-11-24 19:59:29.000000000 -0700
@@ -204,7 +204,7 @@
       break
     fi
   done
-  MFSROOT=`confirm_action "$MFSROOT" "Use an MFSROOT? (yes/no)"`
+  MFSROOT=`confirm_action "$MFSROOT" "Use an MFSROOT? (YES/NO)"`
   IMG=`confirm_action "$IMG" "Image file to generate?"`
 
 # example of formatted value (NNN in this case)


>Release-Note:
>Audit-Trail:
>Unformatted:
