bin/159765: fdisk(8) cannot set active partition using '-u' option

Andrey V. Elsukov ae at FreeBSD.org
Mon Aug 15 17:30:20 UTC 2011


The following reply was made to PR bin/159765; it has been noted by GNATS.

From: "Andrey V. Elsukov" <ae at FreeBSD.org>
To: Hyogeol Lee <hyogeollee at gmail.com>
Cc: freebsd-gnats-submit at FreeBSD.org, sobomax at 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 at 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


More information about the freebsd-bugs mailing list