From owner-freebsd-geom@FreeBSD.ORG Wed Jun 6 06:46:49 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B6C2216A41F for ; Wed, 6 Jun 2007 06:46:49 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id 9825F13C44B for ; Wed, 6 Jun 2007 06:46:49 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 9C30C619D42 for ; Tue, 5 Jun 2007 23:15:28 -0700 (PDT) Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30066-05 for ; Tue, 5 Jun 2007 23:15:28 -0700 (PDT) Received: from [10.47.1.94] (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id DBEB4619D2A for ; Tue, 5 Jun 2007 23:15:27 -0700 (PDT) Message-ID: <466650F0.7050607@miralink.com> Date: Tue, 05 Jun 2007 23:15:12 -0700 From: Sean Bruno User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Tue Jun 5 23:15:28 2007 X-DSPAM-Confidence: 0.9965 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 46665100188111336712104 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Status: No, score=-4.472 tagged_above=-10 required=6.6 autolearn=ham tests=[ALL_TRUSTED=-1.8, AWL=0.027, BAYES_00=-2.599, DSPAM_HAM=-0.1] X-Spam-Score: -4.472 X-Spam-Level: Subject: Accessing GEOM disks from libdisk 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: Wed, 06 Jun 2007 06:46:49 -0000 I've been trying to access disk information from the libdisk routines and keep hitting a core dump on Open_Disk(). It's probably operator head-space on my part, but I can't quite see how to do it properly. eg. GEOM disk is /dev/concat/disk1 Running the tst01 utility from src/lib/libdisk core dumps when I pass /dev/concat/disk1, concat/disk1 or just disk1 in as the disk argument. Running the tst01 utility against the non GEOM disks works just fine, eg. /dev/ad4: tst01 ad4 Can libdisk access GEOM devices? Sean