From owner-freebsd-current@FreeBSD.ORG Thu Apr 8 19:30:13 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 99F11106566B for ; Thu, 8 Apr 2010 19:30:13 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id 83CA28FC1C for ; Thu, 8 Apr 2010 19:30:13 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L0K002GPOU21T70@asmtp024.mac.com> for freebsd-current@freebsd.org; Thu, 08 Apr 2010 12:30:06 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1004080166 From: Marcel Moolenaar In-reply-to: <1A417529-F467-4411-970A-3FF41080AC61@lexasoft.ru> Date: Thu, 08 Apr 2010 12:30:01 -0700 Message-id: References: <1A417529-F467-4411-970A-3FF41080AC61@lexasoft.ru> To: Alexey Tarasov X-Mailer: Apple Mail (2.1078) Cc: freebsd-current@freebsd.org 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 19:30:13 -0000 On Apr 8, 2010, at 6:06 AM, Alexey Tarasov wrote: > Hello. > > There is only one possibility to change sector size of physical disk (gnop -S 4096 ...). > May be it is possible to add such possibility to gpart? e.g. gpart create -S 4096 -t gpt ad0? > It will help all unlucky WD Advanced Format disks users. :-D A better approach is to have tunables for geom_disk to do this. This should absolutely not be part of a partitioning tool. It violates everything there is to violate AFAICT. FYI, -- Marcel Moolenaar xcllnt@mac.com