From owner-freebsd-current@FreeBSD.ORG Mon Apr 25 12:02:09 2011 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 E49031065677; Mon, 25 Apr 2011 12:02:09 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward6.mail.yandex.net (forward6.mail.yandex.net [77.88.60.125]) by mx1.freebsd.org (Postfix) with ESMTP id 910A28FC1D; Mon, 25 Apr 2011 12:02:09 +0000 (UTC) Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward6.mail.yandex.net (Yandex) with ESMTP id 11CF8F80DFC; Mon, 25 Apr 2011 15:44:13 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1303731853; bh=/GXLKmZWAVD71E1LbS94WxN+M1bUDYThZvmVBDueWxY=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=WUCR/Jtru/YNWQIwBgLsZoubnKFdk/y9CngT+F7iEGkzxUweSq5HHSyP3rrNKV2OB FQmwmE5FVJ1dDFezgiazhCOYUkIMWnOgJRjZILDghku2e7LALDarpdRsMNUwSpbGrS FB9jOgy20MgPg5ABSF5KEfVSRnMo85KBQgHI87kU= Received: from [127.0.0.1] (ns.kirov.so-cdu.ru [77.72.136.145]) by smtp8.mail.yandex.net (Yandex) with ESMTPSA id A428F41900C6; Mon, 25 Apr 2011 15:44:12 +0400 (MSD) Message-ID: <4DB55E86.7000805@yandex.ru> Date: Mon, 25 Apr 2011 15:44:06 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Alexander Motin References: <4DB54BA9.5050901@FreeBSD.org> In-Reply-To: <4DB54BA9.5050901@FreeBSD.org> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5DDFDA51E3B9408075ED2F55" X-Yandex-Spam: 1 Cc: Robert Watson , FreeBSD-Current , "Bjoern A. Zeeb" Subject: Re: Old ATA disk names emulation [Was: Switch from legacy ata(4) to CAM-based ATA] 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: Mon, 25 Apr 2011 12:02:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5DDFDA51E3B9408075ED2F55 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 25.04.2011 14:23, Alexander Motin wrote: > What will not work: > - old device names won't be seen inside GEOM, so users who hardcoded > provider names in gmirror/gstripe/... metadata (not the default > behavior) are still in trouble. > - patch mimics ATA_STATIC_ID behavior, if user had custom kernel > without it, he should update device names manually. > - it won't work for users with hot-unplugging ATA controllers (not > devices), but I believe it is really rare case. > - low-level tools, such as smartmontools, won't be able to work with > alias devices, as background ada driver doesn't implements legacy > ioctls. May be I could partially fix this. >=20 > Except those, I think this patch should work for the most of users. >=20 > Any more objections/ideas? Is this an acceptable solution? Hi, what about new GEOM class? You can create new class instance after disk_alloc(), attach it to the new disk and create provider with old-styl= e name. It seems this class will be very simple. --=20 WBR, Andrey V. Elsukov --------------enig5DDFDA51E3B9408075ED2F55 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) iQEcBAEBAgAGBQJNtV6KAAoJEAHF6gQQyKF6wUsH+gObBajwU3mL4OyTnGC4wM24 4rfbVQVX5lV3bxnLVVFSZJ82evwzgyjW9ohM4qoC3UN8y/TtsDS1a/04KKuLYjF4 0/Jk3djzp7vMMm2RZCzGUcHCfrLiMLUbuQGTJ6zH1dw88r20IMLIOq+krscmrroZ 485xP5q2eykveJ7EZBGiO/YfX+1ASUAwEKPMHmAgiQPZs4tBd2wlOlZketdmd35L GjhcumOsFMsxJRgjn6JYHKnYXeftQhtCSyvPHGuOYLKhhdoAQD6h1sk7Ia6I7OHL qIzg/gS/eQiWJ0+wYKmYBQF1krX8aTHl1f2payvTcVaCVkYsT3b7k8XABV46CmQ= =wm+Z -----END PGP SIGNATURE----- --------------enig5DDFDA51E3B9408075ED2F55--