From owner-freebsd-geom@FreeBSD.ORG Fri Aug 2 14:43:11 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 69CF1F3C for ; Fri, 2 Aug 2013 14:43:11 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 261A22A52 for ; Fri, 2 Aug 2013 14:43:10 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:2418:88c5:96ef:35b4]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id 0146D4AC57; Fri, 2 Aug 2013 18:43:01 +0400 (MSK) Date: Fri, 2 Aug 2013 18:42:55 +0400 From: Lev Serebryakov Organization: FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1601625567.20130802184255@serebryakov.spb.ru> To: Luca Ferrari Subject: Re: How to disable all GEOM tasting? In-Reply-To: References: <20130730214114.GL13659@lor.one-eyed-alien.net> <331012162.20130801122156@serebryakov.spb.ru> <34816369.20130801172618@serebryakov.spb.ru> <1219950283.20130802160914@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Aug 2013 14:43:11 -0000 Hello, Luca. You wrote 2 =E0=E2=E3=F3=F1=F2=E0 2013 =E3., 17:38:16: >> How will you do this? With kernel debugger? :) Or you could not load th= is >> class, of course. It is too strong solution -- LF> Seems to me that each class has a "taste" method pointer (the LF> g_taste_event - but I've not the source at hand right now). I mean, at runtime :) >> what if you need tasting of >> some devices but not other? LF> This is interesting: effectively it could happen that a class have to LF> serve both tasteable and not tasteable devices. Would it be possible LF> to remove the tasting when the class is instantied (i.e., becomes a LF> geom)? Please, look at my proposal at "[PROPOSAL] GEOM probing/tasting firewall" message :) --=20 // Black Lion AKA Lev Serebryakov