Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 09:44:40 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Dave Uhring <duhring@charter.net>
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:  <20020617001440.GE56375@wantadilla.lemis.com>
In-Reply-To: <auto-000027375458@dc-mx03.cluster1.charter.net>
References:  <20020616232401.C91106@moya.lambermont.dyndns.org> <20020616233233.GC56375@wantadilla.lemis.com> <auto-000027375458@dc-mx03.cluster1.charter.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, 16 June 2002 at 19:06:13 -0500, Dave Uhring wrote:
> On Sunday 16 June 2002 06:32 pm, Greg 'groggy' Lehey wrote:
>
>>
>> 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.
>
> The fdisk utility from both NetBSD and OpenBSD have been unable to
> recognize any drive larger than 1024 cylinders in my experience.  I
> would recommend you use them before importing any of their code.

"Please test before committing" :-)  Yes, I had certainly planned to
do that.

> The only fdisk utility which I have found to work consistently well
> with large drives is the one used in the Linux distros.

It's unlikely that we'll import that due to license considerations.
My consideration of the other BSD fdisks is that they might be a
better starting point. 

Greg
--
See complete headers for address and phone numbers

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?20020617001440.GE56375>