From owner-svn-src-head@FreeBSD.ORG Mon Jun 15 17:13:51 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAEE81065670; Mon, 15 Jun 2009 17:13:51 +0000 (UTC) (envelope-from ulf.lilleengen@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id E78778FC21; Mon, 15 Jun 2009 17:13:50 +0000 (UTC) (envelope-from ulf.lilleengen@gmail.com) Received: by ewy8 with SMTP id 8so4377608ewy.43 for ; Mon, 15 Jun 2009 10:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=xM1hp/cHqStBHWnqIscPJC5KPNTV/9EwyhRg7ALfnyE=; b=O9wFji+Iqum/OAUL9w6cncjAES+ZXKcNDUHIXWOlLZhY6vkGXjHUB5HOBYeonLWcsY vGm9NZvX829/0zxWLIKrSJmnQ5R8NQL/gRdKWIc9Zbr+FgxgsG3oBt/cB4TV2uBmP1Oz gIJGD7qVCvJy9mGWcIGKF2unQ5ZCCYcifk5j0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=VInzt6c/tN7s3R3K1SvaoQfeXHyc9EP24/K/KlJr2oh7X+TVAzRvllFvfsEiUsuA+6 pedAshl5xxDuh7BEtrcg7d1ocUCCkPzxIbZw9hua1ITWe0hY1jKqdOAQeQb2yJYWM6Ej kedIKTJEsc7PNZkKnobyj5POh8ZnhesaEs1JQ= Received: by 10.210.42.13 with SMTP id p13mr3973035ebp.99.1245084170338; Mon, 15 Jun 2009 09:42:50 -0700 (PDT) Received: from carrot.geeknest.org (z032069.its-s.tudelft.nl [145.94.32.69]) by mx.google.com with ESMTPS id 7sm149784eyg.42.2009.06.15.09.42.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Jun 2009 09:42:49 -0700 (PDT) Message-ID: <4A367A11.4080202@FreeBSD.org> Date: Mon, 15 Jun 2009 18:42:57 +0200 From: Ulf Lilleengen User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: Marcel Moolenaar References: <200906151618.n5FGIO0o094444@svn.freebsd.org> <4931048A-B398-4957-B0B2-5B8BC0810F44@mac.com> In-Reply-To: <4931048A-B398-4957-B0B2-5B8BC0810F44@mac.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r194241 - head/lib/libdisk X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2009 17:13:52 -0000 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.