Date: Mon, 17 Jun 2002 06:49:36 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: "Greg 'groggy' Lehey" <grog@FreeBSD.ORG> Cc: Hans Lambermont <hans@lambermont.dyndns.org>, freebsd-stable@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG Subject: Re: fdisk seems broken for slices above cyl 1023 Message-ID: <22031.1024289376@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 17 Jun 2002 09:02:33 %2B0930." <20020616233233.GC56375@wantadilla.lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20020616233233.GC56375@wantadilla.lemis.com>, "Greg 'groggy' Lehey" writes: >> This is seriously wrong. This looks like an fdisk bug to me. > >Yes, correct. fdisk truncates the cylinder number to 10 bits. I >looked at the code a couple of days ago, but it's such a mess that the >best thing to do would be to throw it away and start again, possibly >importing something from NetBSD or OpenBSD. This answer is wrong in every important aspect: The cylinder field is only 10 bits wide in the MBR, so fdisk can't help but truncate the cylinder field. NetBSD or OpenBSD fdisk are no better than ours. George Cox is working on "libwhisk" which will supposedly take care of fdisk, disklabel, libdisk and sysinstall once done. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22031.1024289376>