From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 17 14:31:50 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 9C7151065686 for ; Wed, 17 Mar 2010 14:31:50 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 5E4BF8FC1C for ; Wed, 17 Mar 2010 14:31:50 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 62C1B1FFC22; Wed, 17 Mar 2010 14:31:49 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 3B44D844CC; Wed, 17 Mar 2010 15:31:49 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Mohacsi Janos References: Date: Wed, 17 Mar 2010 15:31:49 +0100 In-Reply-To: (Mohacsi Janos's message of "Wed, 17 Mar 2010 11:16:16 +0100 (CET)") Message-ID: <86tysf58a2.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 14:31:50 -0000 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. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no