i386/84705: fdisk(8) program warning about sector number is misleading

Gary W. Swearingen garys at opusnet.com
Tue Aug 9 15:00:33 GMT 2005


>Number:         84705
>Category:       i386
>Synopsis:       fdisk(8) program warning about sector number is misleading
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 09 15:00:31 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Gary W. Swearingen
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
none
>Environment:
n/a
>Description:

This fdisk output:
    Warning: BIOS sector numbering starts with sector 1
might be true but it's meant to help users who are about
to enter sector numbers, it's confusing at best.

The "start" sector of a partition is zero-based.

The "beg" and "end" sectors of partition are one-based.

>How-To-Repeat:
n/a

>Fix:
Change warning to:
    WARNING: sector numbering is inconsistent

or just remove warning

and/or fix each sector number prompt to include something 
like "(0<=)" or "(1<=)".

Or do the first and leave PR open.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list