Date: Thu, 3 Nov 2011 02:38:39 GMT From: YIN Xiaofeng <75394094@qq.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/162262: fdisk can't correct/round the slice size after entering invalid number Message-ID: <201111030238.pA32cdLU093040@red.freebsd.org> Resent-Message-ID: <201111030240.pA32e7NT083058@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162262 >Category: misc >Synopsis: fdisk can't correct/round the slice size after entering invalid number >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: Thu Nov 03 02:40:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: YIN Xiaofeng >Release: FreeBSD 9.0 BETA-3 >Organization: >Environment: # uname -a FreeBSD 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Sep 24 20:46:57 UTC 2011 root@o brian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Use FreeBSD-BETA3 iso to boot, select "Live CD" to enter into the live filesystem. then run: fdisk -i ad0 first time: input a invalid decimal number when prompt to enter the size of slice. second time:input a valid decimal number Two times within one fdisk invocation. It's erroneous to determine the size of the slice according to your input value when you enter a value like 2G that cause it warning you ---- Sorry for my poor english. >How-To-Repeat: Answer the questions as follows: Do you want to change it? [n] y .. Supply a decimal value for "size" [16776522] 2G (fdisk asked for Try again due to invalid decimal number) Supply a decimal value for "size" [16776522] 4194304 .. Corrent this automatically? [n] y fdisk: WARNING: adjusting size of partition to 24193827 (not espected value: 4193847 (4193910-63) ) Don't exit fdisk and repeat steps aforesaid, the size value of the slice would be as espected. fdisk: WARNING: adjusting size of partition to 4193847 >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111030238.pA32cdLU093040>