Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2007 23:15:12 -0700
From:      Sean Bruno <sbruno@miralink.com>
To:        freebsd-geom@freebsd.org
Subject:   Accessing GEOM disks from libdisk
Message-ID:  <466650F0.7050607@miralink.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?466650F0.7050607>