From owner-svn-src-head@FreeBSD.ORG Sat Jul 25 04:09:05 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 D139C1065673; Sat, 25 Jul 2009 04:09:05 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 791DB8FC17; Sat, 25 Jul 2009 04:09:05 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.local (pooker.samsco.org [168.103.85.57]) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id n6P4905s030549; Fri, 24 Jul 2009 22:09:00 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4A6A855C.7090003@samsco.org> Date: Fri, 24 Jul 2009 22:09:00 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: "M. Warner Losh" References: <4A68DA56.60301@samsco.org> <20090724.233458.1683324074.imp@bsdimp.com> <4A6A7F2D.90807@samsco.org> <20090724.235420.319856209.imp@bsdimp.com> In-Reply-To: <20090724.235420.319856209.imp@bsdimp.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 required=3.8 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: svn-src-head@freebsd.org, mav@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org, cperciva@freebsd.org Subject: Re: svn commit: r195817 - head/usr.sbin/sysinstall 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: Sat, 25 Jul 2009 04:09:06 -0000 M. Warner Losh wrote: > In message: <4A6A7F2D.90807@samsco.org> > Scott Long writes: > : M. Warner Losh wrote: > : > In message: <4A68DA56.60301@samsco.org> > : > Scott Long writes: > : > : M. Warner Losh wrote: > : > : > In message: <4A66D0F4.4030108@FreeBSD.org> > : > : > Alexander Motin writes: > : > : > : Colin Percival wrote: > : > : > : > Author: cperciva > : > : > : > Date: Wed Jul 22 03:50:54 2009 > : > : > : > New Revision: 195817 > : > : > : > URL: http://svn.freebsd.org/changeset/base/195817 > : > : > : > > : > : > : > Log: > : > : > : > Remove the "dedicated disk mode" partitioning option from sysinstall, in > : > : > : > both the disk partitioning screen (the 'F' key) and via install.cfg (the > : > : > : > VAR_DEDICATED_DISK option). This functionality is currently broken in 8.x > : > : > : > due to libdisk and geom generating different partition names; this commit > : > : > : > merely acts to help steer users away from the breakage. > : > : > : > > : > : > : > Submitted by: randi > : > : > : > Approved by: re (kensmith) > : > : > : > > : > : > : > Modified: > : > : > : > head/usr.sbin/sysinstall/disks.c > : > : > : > : > : > : Is there any other way to not align FS block to the ugly legacy 63 > : > : > : sectors per track boundary with sysinstall now? I think RAIDs won't be > : > : > : happy. May be it would be better to fix it? > : > : > > : > : > The reason we do it like this is because the boot blocks occupy the > : > : > first cylinder group. Which with today's fake goemetry is 63 > : > : > blocks... > : > : > > : > : > : > : I already covered this. Unfortunately, Randi didn't take my bait. > : > : Anyways, '63' is a minimum, it's not a singular value. It's also > : > : an incredibly bad default. > : > > : > Yes. 256 is just as good as 63, unless the geometry reports more than > : > 256 heads, which I don't think is possible... > : > > : > Warner > : > : If there is a BIOS in existence that can't find sector 256, then it > : likely can't boot off of anything other than partition 1 in the fdisk > : table. I bet that bugs like that were likely caught 15-20 years ago. > > I think you were missing the point I was trying to make, I must have > been unclear. > > If there were more than 256 sectors in the first cylinder, then > starting at 256 would overlap. This is largely a theoretical > problem, I think, since I don't think that the BIOS can report a > geometry > 64. > > The only issue that I can think of is that FreeBSD's fdisk wants to > have things on cylinder boundaries, which 256 isn't, so fdisk will > bitch and moan... > > Warner Ah, we will never be freed of the CHS bonds, will we. Oh well. Scott