From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 15 17:30:19 2011 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 EA43A1065688 for ; Mon, 15 Aug 2011 17:30:19 +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 D9E0E8FC0C for ; Mon, 15 Aug 2011 17:30:19 +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 p7FHUJI0070139 for ; Mon, 15 Aug 2011 17:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7FHUJ7k070127; Mon, 15 Aug 2011 17:30:19 GMT (envelope-from gnats) Date: Mon, 15 Aug 2011 17:30:19 GMT Message-Id: <201108151730.p7FHUJ7k070127@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Andrey V. Elsukov" Cc: Subject: Re: bin/159765: fdisk(8) cannot set active partition using '-u' option X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Andrey V. Elsukov" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2011 17:30:20 -0000 The following reply was made to PR bin/159765; it has been noted by GNATS. From: "Andrey V. Elsukov" To: Hyogeol Lee Cc: freebsd-gnats-submit@FreeBSD.org, sobomax@freebsd.org Subject: Re: bin/159765: fdisk(8) cannot set active partition using '-u' option Date: Mon, 15 Aug 2011 21:25:54 +0400 On 14.08.2011 16:55, Hyogeol Lee wrote: > FreeBSD darkstar 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Sat Aug 6 02:51:38 KST 2011 root@darkstar:/usr/obj/usr/src/sys/QUEEN amd64 >> Description: > I have failed to set active partition using '-u' option of fdisk(8) on 9.0-current. > > The error message was "Active partition number must be in range 1-4. Try again.". > >> How-To-Repeat: > 'fdisk -u' to your disk and try to set active partition > It seems there is a bug in decimal() function introduced in r217808. But you can change active attribute with gpart(8). -- WBR, Andrey V. Elsukov