bin/150239: gpart bootcode displays highly ambiguous message
Roddi
roddi at me.com
Fri Sep 3 09:50:05 UTC 2010
>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:
More information about the freebsd-bugs
mailing list