freebsd-nq/tools/regression/geom/Data/disk.sun.da1.xml
Poul-Henning Kamp 31304807c1 Add the GEOM regression test framework.
This is a set of userland shims in which GEOM can be run through simple
tests.

The simulation of kernel synchronization primitives is very primitive
and consequently some times tests will fail because of races.

Data/ contains a number of files in XML format which describe the
key sectors for a number of disk images

This is a very handy tool for people developing GEOM methods.  The
"simdisk" method can be told to read from a "real disk" and afterwards
dump the accessed sectors in XML format for further use.

I hope future method writes will see the benefit of this test
collection and add to it when they write methods for GEOM.

You will need ports/textproc/expat for the XML parser.

Sponsored by:   DARPA, NAI Labs.
2002-03-17 18:53:58 +00:00

34 lines
1.4 KiB
XML

<?xml version="1.0"?>
<DISKIMAGE>
<comment>
$FreeBSD$
A Solaris 8 disklabel
</comment>
<sectorsize>512</sectorsize>
<mediasize>0</mediasize>
<fwsectors>0</fwsectors>
<fwheads>0</fwheads>
<fwcylinders>0</fwcylinders>
<sector>
<offset>0</offset>
<hexdata>
53554e3138472063796c203735303620616c7420322068642031392073656320
3234380000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000170686b00000000000008000200000003000100050000000800010000
00000007000000040000000800000000000000000000000000000000600ddeee
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000001c201d5400000000000000011d520002001300f80000000000000000
0007d6480000006d0020113000000000021bad5000000b4e014b873800000000
000000000000022b00400ff8000005a600400ff80000092100280c48dabe971e
</hexdata>
</sector>
</DISKIMAGE>