Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 2013 15:38:16 +0200
From:      Luca Ferrari <fluca1978@infinito.it>
To:        lev@freebsd.org
Cc:        freebsd-geom@freebsd.org
Subject:   Re: How to disable all GEOM tasting?
Message-ID:  <CAKoxK%2B7E4kZmZ8_rVrxLv2E_BOGfquAZqR%2Bfo2puhtwF5srbEw@mail.gmail.com>
In-Reply-To: <1219950283.20130802160914@serebryakov.spb.ru>
References:  <CADBSp1fcO9Eb7nQXDQPghd0ModKuAtKBiwHfS80h_njn10U8Gg@mail.gmail.com> <20130730214114.GL13659@lor.one-eyed-alien.net> <CADBSp1dH01%2B1i1ydq-nWtivq30vxfjnnnJPnH%2Bqb0XycsbbjcA@mail.gmail.com> <CAKoxK%2B6oP2e4YfBLRtz3AWbMJxQSJW-LpB2QjHAYd55%2BCkBs2Q@mail.gmail.com> <331012162.20130801122156@serebryakov.spb.ru> <CAKoxK%2B6L-AT_j=Z6w_VDeoTsh=Uo73pgXw-gSL1Vj0viO_OJUg@mail.gmail.com> <34816369.20130801172618@serebryakov.spb.ru> <CAKoxK%2B7N=OV2pWmL-xG5s0oAdchTiqjcOsy_Z3qoqLWrgk%2Byng@mail.gmail.com> <1219950283.20130802160914@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 2, 2013 at 2:09 PM, Lev Serebryakov <lev@freebsd.org> wrote:

>  How will you do this? With kernel debugger? :) Or you could not load this
> class, of course. It is too strong solution --

Seems to me that each class has a "taste" method pointer (the
g_taste_event - but I've not the source at hand right now).


> what if you need tasting of
> some devices but not other?


This is interesting: effectively it could happen that a class have to
serve both tasteable and not tasteable devices. Would it be possible
to remove the tasting when the class is instantied (i.e., becomes a
geom)?

Luca



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKoxK%2B7E4kZmZ8_rVrxLv2E_BOGfquAZqR%2Bfo2puhtwF5srbEw>