From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 17 15:53:19 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DB72106567A for ; Wed, 17 Mar 2010 15:53:19 +0000 (UTC) (envelope-from mohacsi@niif.hu) Received: from mail.ki.iif.hu (mail.ki.iif.hu [IPv6:2001:738:0:411::241]) by mx1.freebsd.org (Postfix) with ESMTP id C19968FC18 for ; Wed, 17 Mar 2010 15:53:18 +0000 (UTC) Received: from localhost (localhost [IPv6:::1]) by mail.ki.iif.hu (Postfix) with ESMTP id D662C86C9C; Wed, 17 Mar 2010 16:53:17 +0100 (CET) X-Virus-Scanned: by amavisd-new at mignon.ki.iif.hu Received: from mail.ki.iif.hu ([127.0.0.1]) by localhost (mignon.ki.iif.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3VUl4uddRhAA; Wed, 17 Mar 2010 16:53:15 +0100 (CET) Received: by mail.ki.iif.hu (Postfix, from userid 9002) id 2518886C9B; Wed, 17 Mar 2010 16:53:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.ki.iif.hu (Postfix) with ESMTP id 18FBF86C97; Wed, 17 Mar 2010 16:53:15 +0100 (CET) Date: Wed, 17 Mar 2010 16:53:14 +0100 (CET) From: Mohacsi Janos X-X-Sender: mohacsi@mignon.ki.iif.hu To: =?ISO-8859-15?Q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: <86tysf58a2.fsf@ds4.des.no> Message-ID: References: <86tysf58a2.fsf@ds4.des.no> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org Subject: Re: ATA 4K sector issues X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 15:53:19 -0000 On Wed, 17 Mar 2010, Dag-Erling Sm?rgrav wrote: > Mohacsi Janos writes: >> What is the situation with ATA 4K dirves in FreeBSD? Are there >> any support for them in fdisk or disklabel? > > Hmm, didn't we discuss this already? All we need to do is change the > defaults in fdisk so it rounds partition offsets and sizes to a multiple > of 8 sectors (or 16 for future-proofing) instead of aligning them with > fictitious cylinder boundaries. Bsdlabel, as disklabel is properly > known, already DTRT: by default, the first partition starts at offset > 16. Just make sure you specify sizes that are divisible by 8 or 16 > blocks (not an issue if you use the M or G suffixes). Sysinstall > operates in megabytes. Thanks for the information.