Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2000 02:10:04 -0700 (PDT)
From:      John Baldwin <jhb@pike.osd.bsdi.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/20633: fdisk doesn't handle LBA correctly
Message-ID:  <200008250910.CAA31143@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/20633; it has been noted by GNATS.

From: John Baldwin <jhb@pike.osd.bsdi.com>
To: freebsd-gnats-submit@FreeBSD.org, sjr@home.com
Cc:  
Subject: Re: bin/20633: fdisk doesn't handle LBA correctly
Date: Fri, 25 Aug 2000 02:05:42 -0700 (PDT)

 Your analysis is not quite correct.  The problem is that the MBR format
 cannot indicate a cylinder higher than 1023 because there simply aren't
 enough bits.  Therefore, when a geometry specification goes beyond
 the 1023rd cylinder, a special value of '0xffffff' is used in the partition
 table entry, which indicates that the starting LBA and size items must be
 used for a given entry.  This special value translates into the values you see
 in your fdisk output.
 
 -- 
 
 John Baldwin <jhb@bsdi.com> -- http://www.FreeBSD.org/~jhb/
 PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
 "Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008250910.CAA31143>