From owner-freebsd-questions@FreeBSD.ORG Thu Nov 15 15:53:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C6761671 for ; Thu, 15 Nov 2012 15:53:35 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 667E48FC18 for ; Thu, 15 Nov 2012 15:53:35 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qAFFrYst063169; Thu, 15 Nov 2012 08:53:34 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qAFFrYsg063166; Thu, 15 Nov 2012 08:53:34 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 15 Nov 2012 08:53:34 -0700 (MST) From: Warren Block To: "Ronald F. Guilmette" Subject: Re: Advanced Format Drive ? In-Reply-To: <21632.1352981632@tristatelogic.com> Message-ID: References: <21632.1352981632@tristatelogic.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 15 Nov 2012 08:53:34 -0700 (MST) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2012 15:53:35 -0000 On Thu, 15 Nov 2012, Ronald F. Guilmette wrote: > > In message , > Warren Block wrote: > >> On Wed, 14 Nov 2012, Ronald F. Guilmette wrote: >> ... >>> Given these facts, I am more than a little surpised to learn (or rather >>> just to realize) that the good old traditional fdisk and bsdlabel tools >>> do not have ways to explicitly specify minimum alignment _and_ that >>> these tools are still being distributed with FreeBSD. >> >> There may be a way, I haven't bothered to look. As I said, gpart does >> everything fdisk and bsdlabel can do. > > Well, given that newfs has been ``fixed'' so that its defaults will > Do The Right Thing with the latest generation of (4KB block) disks, > I for one would like to register my vote for fdisk and bsdlabel to > either (a) be likewise fixed so that they also will default to Doing > The Right Thing (with the current generation of disks) or else (b) > be removed from future releases, based on the fact that (apparently) > they are now so old that nobody cares about them anymore and/or that > their defaults, when (foolishly?) relied upon, are likely to produce > Bad Performance, aka Bad Behavior. It's legacy code, and that's always a tough call: update and lose the legacy, or leave it alone and increasingly less useful. Since gpart is available, there's little pressure to change fdisk or bsdlabel. > And also, please don't forget the other points I mentioned, i.e. that > the man page for fdisk makes several references to alignment on ``cylinder'' > and/or ``head'' boundaries. Are those things even relavant anymore? > Have they been, anytime in the past 10+ years? (I am guessing that > there may be other similarly antiquated references to boundaries that > haven't been meaningful for a long long time also in the bdslabel man > page, although I confess that didn't even look.) I'd say closer to 20 years. But again, it's that legacy thing. And with FreeBSD, the odds are pretty good that somebody is still running legacy hardware.