misc/131059: [patch] tinybsd MFSROOT option suggests YES/NO but only accepts yes/no

Brock Williams brock at cotcomsol.com
Tue Jan 27 12:20:03 PST 2009


>Number:         131059
>Category:       misc
>Synopsis:       [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:
>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 at 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:


More information about the freebsd-bugs mailing list