Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jul 2006 14:20:24 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Scott Ullrich <sullrich@gmail.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Detecting GMIRROR volumes without using gmirror utility
Message-ID:  <44AEB3F8.4030603@centtech.com>
In-Reply-To: <d5992baf0607071155m7f37ab8ds2a9b6ea92a82cddd@mail.gmail.com>
References:  <d5992baf0607071155m7f37ab8ds2a9b6ea92a82cddd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/07/06 13:55, Scott Ullrich wrote:
> Hello!
> 
> I am working on adding GEOM mirror support to BSD Installer but do not
> with to depend on the gmirror binary to survey known disks.
> 
> Is it possible to find out the active gmirror volumes somehow via the
> kernel?  Maybe a sysctl knob similar to kern.disks?
> 
> Thanks in advance!

Maybe you can use the geom tasting functions? I see some hints here:

/usr/src/sys/geom/geom.h


Eric




-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44AEB3F8.4030603>