From owner-freebsd-geom@FreeBSD.ORG Thu Aug 1 07:31:23 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A461118F; Thu, 1 Aug 2013 07:31:23 +0000 (UTC) (envelope-from fluca1978@gmail.com) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0F1B62EEC; Thu, 1 Aug 2013 07:31:22 +0000 (UTC) Received: by mail-wi0-f170.google.com with SMTP id hi8so4433571wib.5 for ; Thu, 01 Aug 2013 00:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=5vrDaJkofoR8mATi4ELofxtIaXaLQVx78/zcmdW21ZY=; b=VI8ytXQal19xNe0v3T+YCGKIB41FCl+HkJtCNlyG2H2QV+WWkOe4OwZynNwG3RGCrW ifQ0Vvz1z6O1oIlkgfQjAhqm/qBLQCRhgcqzRfo2IdQTq68BvsHvtwJ4BjKP1GpEW8hH U68K62VtWCISpa4z6CBTSjIfJiyVsfVxnqGxKNYPG4/cKK15MxGbjFOqj7xTGDTSvM9I LQDloIAQT4omX9+CmdB8UF7XuRRX2I3pti8T+cNbWl8qCHLIx8lMfS5v4ieDZ4GQPf87 +HB0w3vT7TqpU0DJP2zCdHatGlGTg1rH40f5qMBr2L/rlkSqD+Auu1lkiethIqQulGxK azUg== MIME-Version: 1.0 X-Received: by 10.181.13.106 with SMTP id ex10mr175125wid.16.1375342281195; Thu, 01 Aug 2013 00:31:21 -0700 (PDT) Sender: fluca1978@gmail.com Received: by 10.194.157.194 with HTTP; Thu, 1 Aug 2013 00:31:21 -0700 (PDT) In-Reply-To: References: <20130730214114.GL13659@lor.one-eyed-alien.net> Date: Thu, 1 Aug 2013 09:31:21 +0200 X-Google-Sender-Auth: wXEfe9ArIZFd4s7qEdM0fn3_mYc Message-ID: Subject: Re: How to disable all GEOM tasting? From: Luca Ferrari To: Rotate 13 Content-Type: text/plain; charset=ISO-8859-1 Cc: Brooks Davis , freebsd-geom@freebsd.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Aug 2013 07:31:23 -0000 On Wed, Jul 31, 2013 at 12:19 AM, Rotate 13 wrote: > Any pointer to look in sources for where triggers the tasting? I > understand each GEOM has the taste code of its own... but something > must start it all when device is inserted. > As far as I know every time a geom class is loaded (g_load_class) a taste is performed "posting" a geom event of type taste, so I would look for "g_post_event(g_load_class" in the geom source tree. However, I don't get the whole point in disabling tasting: it is required for proper system functioning. Once a device is tasted all the classes will be "setup". Luca