From owner-freebsd-current@FreeBSD.ORG Thu Apr 8 14:26:44 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76312106564A for ; Thu, 8 Apr 2010 14:26:44 +0000 (UTC) (envelope-from me@lexasoft.ru) Received: from relay.wahome.ru (relay.wahome.ru [95.211.21.141]) by mx1.freebsd.org (Postfix) with ESMTP id 3BDC38FC13 for ; Thu, 8 Apr 2010 14:26:44 +0000 (UTC) Received: from mmx.lexasoft.ru (mmx.lexasoft.ru [92.241.160.6]) by relay.wahome.ru (Postfix) with ESMTP id 573FF6B21A0; Thu, 8 Apr 2010 18:23:46 +0400 (MSD) Received: from [10.100.0.2] (petrovich-telecom-gw.wahome.ru [77.91.225.38]) by mmx.lexasoft.ru (Postfix) with ESMTPSA id 840942848C; Thu, 8 Apr 2010 18:26:42 +0400 (MSD) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=utf-8 From: Alexey Tarasov In-Reply-To: <86mxxet437.fsf@ds4.des.no> Date: Thu, 8 Apr 2010 18:26:41 +0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1A417529-F467-4411-970A-3FF41080AC61@lexasoft.ru> <868w8yukuy.fsf@ds4.des.no> <6313EB8E-D3DA-459F-A372-0E871359FA1C@lexasoft.ru> <86zl1et4rv.fsf@ds4.des.no> <86mxxet437.fsf@ds4.des.no> To: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , freebsd-current@freebsd.org X-Mailer: Apple Mail (2.1077) Cc: Alexey Tarasov Subject: Re: gpart and sector size X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2010 14:26:44 -0000 > 1) There is already an ATA command to report both physical and logical > sector sizes, but the disk lies - it always reports 512/512. Advanced Format disks reports 512, but there is another command in ATA = standard which can tell us if it uses 4k sector. > 2) The disk may have already been formatted on a system that doesn't > support 4k sectors, and may contain unaligned partitions and file > systems, which won't be visible if we forcibly and unconditionally > use 4k sectors. I mean that when I create *NEW* GPT scheme I can set up sector size = emulation. It will never touch existing unaligned partitions. -- Alexey Tarasov (\__/)=20 (=3D'.'=3D)=20 E[: | | | | :]=D0=97=20 (")_(")