Detecting GMIRROR volumes without using gmirror utility
Eric Anderson
anderson at centtech.com
Fri Jul 7 19:20:21 UTC 2006
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.
------------------------------------------------------------------------
More information about the freebsd-geom
mailing list