Date: Tue, 27 Jan 2009 20:14:06 GMT From: Brock Williams <brock@cotcomsol.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/131059: [patch] tinybsd MFSROOT option suggests YES/NO but only accepts yes/no Message-ID: <200901272014.n0RKE69N086459@www.freebsd.org> Resent-Message-ID: <200901272020.n0RKK2GI068705@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901272014.n0RKE69N086459>
