From owner-freebsd-stable@FreeBSD.ORG Fri Aug 19 05:16:12 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 081BA106566B; Fri, 19 Aug 2011 05:16:12 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mail.kirov.so-ups.ru (ns.kirov.so-ups.ru [178.74.170.1]) by mx1.freebsd.org (Postfix) with ESMTP id A50768FC12; Fri, 19 Aug 2011 05:16:10 +0000 (UTC) Received: from kas30pipe.localhost (localhost.kirov.so-cdu.ru [127.0.0.1]) by mail.kirov.so-ups.ru (Postfix) with SMTP id 0D7B0B801B; Fri, 19 Aug 2011 09:00:22 +0400 (MSD) Received: from kirov.so-cdu.ru (unknown [172.21.81.1]) by mail.kirov.so-ups.ru (Postfix) with ESMTP id 03517B8008; Fri, 19 Aug 2011 09:00:22 +0400 (MSD) Received: by ns.kirov.so-cdu.ru (Postfix, from userid 1010) id D3800B8F0A; Fri, 19 Aug 2011 09:00:15 +0400 (MSD) Received: from [10.118.3.52] (elsukov.kirov.oduur.so [10.118.3.52]) by ns.kirov.so-cdu.ru (Postfix) with ESMTP id 9F605B8F04; Fri, 19 Aug 2011 09:00:15 +0400 (MSD) Message-ID: <4E4DEDDB.6060201@FreeBSD.org> Date: Fri, 19 Aug 2011 09:00:11 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Kevin Oberman References: <4E4CD19E.5070108@rawbw.com> <20110818101034.GA1958@emphyrio.blackend.org> In-Reply-To: X-Enigmail-Version: 1.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig74A1FA41A34B9FA8A9C4CB9D" X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-SpamTest-Info: Not protected Cc: Yuri , freebsd-stable@freebsd.org Subject: Re: WD Advanced Format: do I need to do something special? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2011 05:16:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig74A1FA41A34B9FA8A9C4CB9D Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 19.08.2011 3:11, Kevin Oberman wrote: > I'd strongly suggest avoiding fdisk(8) and using gpart(8) on 8 and > above. It has an > alignment option that makes this all just work and also allows the use = of GPT > formatting. (Watch out for GPT on any system that needs to run 32-bit W= indows.) >=20 > gpart create -s gpt ada1 > gpart bootcode -b /boot/pmbr ada1 > gpart add -t freebsd-boot -a 4 -s 128 -b 40 ad0 > gpart bootcode -p /boot/gptboot -i 1 ad0 > gpart add -t freebsd-ufs -a 4 -s 2097152 ada1 > gpart add -t freebsd-swap -a 4 -s 8388608 ada1 > gpart add -t freebsd-ufs -a 4 -s 10485760 ada1 > gpart add -t freebsd-ufs -a 4 -s 1048576 ada1 > gpart add -t freebsd-ufs -a 4 ada1 If you are using gpart with -a option you don't need to specify exactly n= umbers. And if you want to align your partition to 4096 bytes you should use "-a = 4k" or "-a 8". E.g. # gpart add -t freebsd-boot -a 4k -s 64k ad0 --=20 WBR, Andrey V. Elsukov --------------enig74A1FA41A34B9FA8A9C4CB9D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJOTe3fAAoJEAHF6gQQyKF6QPsIALO6JwNVmk8GnWYIsCgshZNB KEAg/DwXlBpapfGONuIXv+F6Db4ydeKeWvZouINc6W9xx4qgrmUwOFs6oVi6tO0d bQUg2wB6QFHufCdC5Ndfb9RMYZZLKjAfhCnOYEj/8G1SHPoaPOFUBJ+qd4JBwSvq 3M9nMEsNlOyyLsBvti1sPresvypwv3JQrzvGW7XEPUsbU0+VgUEeoIXLXGfMWDgR z0V45ErMLzN2oc5Le3l9617m4SM5INUpWEZuOU5iHBAYXoTlglsaGscmQPKd9aTt GK0cs3nlu5xeH2BvmJtbUcmCL8z4vPy700aAu0EUnMdFvHvqTreh0s/bmrWMSiY= =cvvN -----END PGP SIGNATURE----- --------------enig74A1FA41A34B9FA8A9C4CB9D--