From owner-freebsd-geom@FreeBSD.ORG Sat Jan 22 16:46:27 2011 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 1FDC01065670 for ; Sat, 22 Jan 2011 16:46:27 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id B06678FC08 for ; Sat, 22 Jan 2011 16:46:25 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 0588945C9F; Sat, 22 Jan 2011 17:46:23 +0100 (CET) Received: from localhost (89-73-192-49.dynamic.chello.pl [89.73.192.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id D30DA45684; Sat, 22 Jan 2011 17:46:17 +0100 (CET) Date: Sat, 22 Jan 2011 17:46:05 +0100 From: Pawel Jakub Dawidek To: "Andrey V. Elsukov" Message-ID: <20110122164605.GA8360@garage.freebsd.pl> References: <4D3AD47E.9010400@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <4D3AD47E.9010400@yandex.ru> 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: Marcel Moolenaar , freebsd-geom@freebsd.org Subject: Re: [PATCH] Do tasting for UFS's id and volume only for freebsd-ufs partitions 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: Sat, 22 Jan 2011 16:46:27 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 22, 2011 at 03:58:38PM +0300, Andrey V. Elsukov wrote: > Hi All. >=20 > I saw several strangest problem reports where UFS labels were > successfully tasted for an inappropriate provider. > So, what you thing about proposed patch? >=20 > It add new handled attribute to geom PART class - "PART::type". > It does return partition type for given consumer. > Also it does limit tasting for UFS labels only for "freebsd-ufs" > providers. What's wrong with placing UFS on raw disk or GELI-encrypted provider? In my opinion this patch limits functionality too much. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk07Cc0ACgkQForvXbEpPzTj8wCbBWu+t0muH42ZkcdjOwVBUIkG cFgAni7bpPNmXU9XVkvBTwii+NuG6vTL =APlW -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--