From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 3 09:50:05 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A19E0106570F for ; Fri, 3 Sep 2010 09:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 65C068FC24 for ; Fri, 3 Sep 2010 09:50:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o839o5VG053403 for ; Fri, 3 Sep 2010 09:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o839o5j9053402; Fri, 3 Sep 2010 09:50:05 GMT (envelope-from gnats) Resent-Date: Fri, 3 Sep 2010 09:50:05 GMT Resent-Message-Id: <201009030950.o839o5j9053402@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Roddi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3486310656DD for ; Fri, 3 Sep 2010 09:40:54 +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 245D78FC23 for ; Fri, 3 Sep 2010 09:40:54 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o839erKi088297 for ; Fri, 3 Sep 2010 09:40:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o839er2R088274; Fri, 3 Sep 2010 09:40:53 GMT (envelope-from nobody) Message-Id: <201009030940.o839er2R088274@www.freebsd.org> Date: Fri, 3 Sep 2010 09:40:53 GMT From: Roddi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/150239: gpart bootcode displays highly ambiguous message X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 09:50:05 -0000 >Number: 150239 >Category: bin >Synopsis: gpart bootcode displays highly ambiguous message >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 03 09:50:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Roddi >Release: 8.1 i386 >Organization: >Environment: >Description: # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad10 returns "ad10s1 has bootcode" Which could either mean (1) "ad10s1 already has bootcode. I wont overwrite that!" or (2) "bootcode was written to ad10s1" It's not very obvious that (2) is the case. Please change the return string to (2) >How-To-Repeat: # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ad10 >Fix: Change the return string to "bootcode was written to %s" >Release-Note: >Audit-Trail: >Unformatted: