From owner-freebsd-geom@FreeBSD.ORG Thu Mar 26 10:55:51 2009 Return-Path: Delivered-To: geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6FA61065672 for ; Thu, 26 Mar 2009 10:55:51 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 80F5D8FC1A for ; Thu, 26 Mar 2009 10:55:51 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 4432B73098; Thu, 26 Mar 2009 12:00:48 +0100 (CET) Date: Thu, 26 Mar 2009 12:00:48 +0100 From: Luigi Rizzo To: geom@freebsd.org Message-ID: <20090326110048.GA48516@onelab2.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: geom debugging tools ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 10:55:52 -0000 do we have a tool that can list all active geoms, providers and consumers ? "geom list" does part of the job, but I don't know how to get the list of available classes. The following trick ls /lib/geom | sed 's/geom_//;s/\.so//' | xargs -n 1 -J % geom % list can only give a partial list of names.