From owner-freebsd-geom@FreeBSD.ORG Mon Aug 5 15:22:50 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 8B24CF55 for ; Mon, 5 Aug 2013 15:22:50 +0000 (UTC) (envelope-from fluca1978@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 20D6022C9 for ; Mon, 5 Aug 2013 15:22:49 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id hq12so1661479wib.16 for ; Mon, 05 Aug 2013 08:22:48 -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:content-type; bh=wBUoJUWJ6tF6YiWIaoQKJX9VidA1CZlbmRB1JFJ2Vvw=; b=NqeaYe4DGjpgAoiBsyGPOETun+7VtXaEbkunMglYFJRXe4Wmz/mGZmU8jNMsriWxnT TkrDy9PE8t9IpRBEu34AlhmsAzPNJfPq2jioZrfI2yDdvrRK+de9Ze2OFLPOvB5JDuCN 8gABRlDmISDSimJYkKPA01+VfPoSytXx3HGmvZNtvcoDdh1dphlVKTkwbq3T/GSrniew 52qEMD5cWBxPW+enUzIZs6VK2n/CnaTQbQ/u5ZGDpvJYjSaN0OFyVcc5Hs2rBzC1QW14 xKzr6W3XA7JFP02eZeY5FBfezVntPOnboSgjhCnnqlrcxV/D95QFnuFlR1hDi+AeU7/1 kGJw== MIME-Version: 1.0 X-Received: by 10.194.172.9 with SMTP id ay9mr12393487wjc.54.1375716168534; Mon, 05 Aug 2013 08:22:48 -0700 (PDT) Sender: fluca1978@gmail.com Received: by 10.194.157.194 with HTTP; Mon, 5 Aug 2013 08:22:48 -0700 (PDT) In-Reply-To: <20130802190431.GH5771@garage.freebsd.pl> References: <447183917.20130731130956@serebryakov.spb.ru> <51F91FAC.60905@freebsd.org> <20130802190431.GH5771@garage.freebsd.pl> Date: Mon, 5 Aug 2013 17:22:48 +0200 X-Google-Sender-Auth: qPbtHEBOC1aC8ZV98L2gtVVXIl0 Message-ID: Subject: Re: [PROPOSAL] GEOM probing/tasting firewall From: Luca Ferrari To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Mon, 05 Aug 2013 15:22:50 -0000 On Fri, Aug 2, 2013 at 9:04 PM, Pawel Jakub Dawidek wrote: > Another idea is to implement lazy device creation in /dev/ - when > provider is created with this don't-taste flag its corresponding /dev/ > entry is not created, because the DEV GEOM class didn't taste it. > But DEV class could respond to devfs lookups by trying to find provider > by name (there is function for that already) and when found, create > /dev/ entry for it. This would make providers that don't like to be > tasted still available through /dev/. > Sounds rationale to me and less expensive that a complete rule system (even if less flexible, but for what I read this should suffice in many cases). Luca