From owner-svn-src-all@FreeBSD.ORG Tue Apr 26 07:20:01 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FC63106564A; Tue, 26 Apr 2011 07:20:01 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D76C28FC08; Tue, 26 Apr 2011 07:19:59 +0000 (UTC) Received: by bwz12 with SMTP id 12so423798bwz.13 for ; Tue, 26 Apr 2011 00:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=9c0dJAcb8nj0O8DR8Oi1CWgdy9Ol0VcyFFzVccckl44=; b=OsZJY8nyhN5ya1Eko+BpXG5cfqz2lYhtCqVTB9Ts8dY1ZmUo6laSfS6PQf9FxDIPDn XNZKE4KfU3hJYt1gIERNm5AF6Gqo3kRE23foc5A4USEk64FuQ7/IunUEFOy2bpBGtniG L6WQ+t6ucR6RSfDKHELRZUM+onBc7HRxt5YXo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=m3GVYhyDfNX3HWBfCrguy4Y0NB2ahJBCOJ/B7q67VLM7BxElCg/IDFdC3+WDurGVyM P9coKMgp80Rl7uFHaNow51pjSqx9JE7UwuZdYHHL1sAecH9XOlh7CXbxR3wIskJmnRDB qSEqtD3WPsnw4psUG4KfaYJ2yyh+f5M2tKGEU= Received: by 10.204.82.143 with SMTP id b15mr361894bkl.118.1303802398901; Tue, 26 Apr 2011 00:19:58 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id w3sm3670075bkt.5.2011.04.26.00.19.56 (version=SSLv3 cipher=OTHER); Tue, 26 Apr 2011 00:19:58 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DB6721B.3020600@FreeBSD.org> Date: Tue, 26 Apr 2011 10:19:55 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110310 Thunderbird/3.1.9 MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <201104240858.p3O8wwqT024628@svn.freebsd.org> <4DB441B0.8020906@FreeBSD.org> <20110425134531.GA4391@garage.freebsd.pl> <50385B7B-7EC8-4BC3-8F88-83F9EB4096FB@bsdimp.com> <4DB5A166.9010302@FreeBSD.org> <67F62848-FAA3-4C46-A95A-DA7C82281898@bsdimp.com> <4DB5B0A9.4030805@FreeBSD.org> <20110426070020.GC2472@garage.freebsd.pl> In-Reply-To: <20110426070020.GC2472@garage.freebsd.pl> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, "Bjoern A. Zeeb" , Robert Watson , svn-src-head@freebsd.org, Warner Losh Subject: Re: svn commit: r220982 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/mips/conf sys/mips/malta sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 07:20:01 -0000 On 26.04.2011 10:00, Pawel Jakub Dawidek wrote: > On Mon, Apr 25, 2011 at 08:34:33PM +0300, Alexander Motin wrote: >> I've thought about the process of fixing hardcoded provider names there, >> and it is absolutely not trivial. If we take the "symlinking" way (patch >> is already posted to current@), I think it will be much easier for >> everybody, and especially users, if I hack all mentioned above GEOM >> classes to ignore adX/adaY difference in provider names. And it should >> perfectly fit into remaining time window. > > Could you be more specific what the hack would do exactly? I would write some comparison function, which would search both names for adX/adaY prefixes, if they found on both arguments, trimmed them and compared remaining parts. I think for usual purpose of name hardcoding device name part is less important. Comparing partition names part should be enough. The tricky part there is to properly identify device part, so I was thinking about specific hack for adX/adaY. -- Alexander Motin