From owner-freebsd-geom@FreeBSD.ORG Sun Aug 8 10:31:13 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E8A91065672 for ; Sun, 8 Aug 2010 10:31:13 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id 926078FC08 for ; Sun, 8 Aug 2010 10:31:12 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id D1B4B45CA6; Sun, 8 Aug 2010 12:31:09 +0200 (CEST) Received: from localhost (chello089077043238.chello.pl [89.77.43.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1DB5045684; Sun, 8 Aug 2010 12:31:04 +0200 (CEST) Date: Sun, 8 Aug 2010 12:30:55 +0200 From: Pawel Jakub Dawidek To: Ivan Voras Message-ID: <20100808103055.GA2037@garage.freebsd.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-hackers , freebsd-geom@freebsd.org Subject: Re: glabel "force sectorsize" patch X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 10:31:13 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 08, 2010 at 03:57:44AM +0200, Ivan Voras wrote: > Hi, >=20 > In order to help users having 4k sector drives which the system > recognizes as 512 byte sector drives, I'm proposing a patch to glabel > which enables it to use a forced sector size for its native-labeled > providers. It is naturally only usable with glabel-native labels > (those created by "glabel label") and not partition and file system > labels because we cannot add arbitrary new fields to metadata of those > types. >=20 > The patch is here: >=20 > http://people.freebsd.org/~ivoras/diffs/glabel_ssize.patch [...] > This mechanism is a band-aid until there's a better way of dealing > with 4k drives. So why do you want to obfuscate glabel with it? For people to start depend on it? Once we start supporting 4kB sectors what do we do with such a change? Remove it and decrease version number? What people will do with providers already labeled this way? If its temporary, just allow to list providers you want to increase sector size in /boot/loader.conf. Once we start supporting it properly people might simply remove it from loader.conf and it should just work. Glabel is not for that and I don't agree for such obfuscation. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkxeh14ACgkQForvXbEpPzSL+wCguHzlZWPslLkwvdgXMEAXlhgl ztUAoJnJxtZhVFmO1NQuybFlFiyOkI77 =sttd -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--