From owner-freebsd-fs@FreeBSD.ORG Wed Aug 27 11:13:55 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07C9F106567A for ; Wed, 27 Aug 2008 11:13:55 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206045140.chello.pl [87.206.45.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9D7208FC19 for ; Wed, 27 Aug 2008 11:13:54 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id AD0C145CA6; Wed, 27 Aug 2008 13:13:52 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 0D1A045B36; Wed, 27 Aug 2008 13:13:48 +0200 (CEST) Date: Wed, 27 Aug 2008 13:14:01 +0200 From: Pawel Jakub Dawidek To: Poul-Henning Kamp Message-ID: <20080827111401.GA1857@garage.freebsd.pl> References: <48B3A11C.6030504@gmail.com> <35438.1219736614@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <35438.1219736614@critter.freebsd.dk> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: Sector size of 4096 bytes (not 512) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2008 11:13:55 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 26, 2008 at 07:43:34AM +0000, Poul-Henning Kamp wrote: > In message <48B3A11C.6030504@gmail.com>, Sten Daniel Soersdal writes: > > > >Does anyone know if i might run into any surprises if my hdd has 4096=20 > >byte sized sectors and not the regular 512, it is low-level formatted=20 > >that way. >=20 > That's no problem, as long as the sectorsize is a power of two, larger > than or equal to 512, you should have no trouble. Also, sector shouldn't be larger than page size, because once you place UFS on such thing, mmap(2) will stop working, AFAIR. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFItTb5ForvXbEpPzQRAqeuAKCOJaorZ38QmvBns4lcGx3ErqK4+ACg9AZ0 CF13pW75HOx//gXef8K3c1w= =8czA -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI--