Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2009 18:42:57 +0200
From:      Ulf Lilleengen <ulf.lilleengen@gmail.com>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r194241 - head/lib/libdisk
Message-ID:  <4A367A11.4080202@FreeBSD.org>
In-Reply-To: <4931048A-B398-4957-B0B2-5B8BC0810F44@mac.com>
References:  <200906151618.n5FGIO0o094444@svn.freebsd.org> <4931048A-B398-4957-B0B2-5B8BC0810F44@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcel Moolenaar wrote:
> 
> On Jun 15, 2009, at 9:18 AM, Ulf Lilleengen wrote:
> 
>> Author: lulf
>> Date: Mon Jun 15 16:18:24 2009
>> New Revision: 194241
>> URL: http://svn.freebsd.org/changeset/base/194241
>>
>> Log:
>>  - Relax sanitazion requirements in libdisk, as a previous commit
>> enabling this
>>    sanitization broke sysinstall on some disks.  This was due to the
>> disks
>>    reporting a geometry that was incorrectly sanitized by sysinstall.
>> This makes
>>    the sanitization consistent with fdisk.
> 
> *snip*
> 
>> +    if (disk->bios_hd > 256)
>>         sane = 0;
> 
> 
> The number of heads cannot exceed 255. There are only 8-bits
> in which the number of heads is stored. This also applies to
> PC98, BTW.
> 
Aha, so I should fix fdisk too then. Thanks.



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