From owner-freebsd-bugs Fri Aug 25 2:10: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 36AC637B42C for ; Fri, 25 Aug 2000 02:10:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA31143; Fri, 25 Aug 2000 02:10:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 25 Aug 2000 02:10:04 -0700 (PDT) Message-Id: <200008250910.CAA31143@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: John Baldwin Subject: Re: bin/20633: fdisk doesn't handle LBA correctly Reply-To: John Baldwin Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/20633; it has been noted by GNATS. From: John Baldwin 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 -- 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