Date: Sat, 12 Nov 2005 20:02:02 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom geom_dump.c Message-ID: <200511122002.jACK22HR040650@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2005-11-12 20:02:02 UTC
FreeBSD src repository
Modified files:
sys/geom geom_dump.c
Log:
Make the kern.geom.conftxt sysctl more usable by also dumping the
MD class. Previously only the DISK class was dumped. The only
consumer of this sysctl is libdisk (i.e. sysinstall) and it tests
explicitly for instances of the DISK class. Dumping other classes
is therefore harmless.
By also dumping the MD class regression tests can be written that
use the MD class for operations that would normally be done on the
DISK class. The sysctl can now be used to test if those operations
took an effect. An example is partitioning.
Revision Changes Path
1.32 +4 -5 src/sys/geom/geom_dump.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511122002.jACK22HR040650>
