freebsd-nq/tools/regression/geom/Data/disk.sun.da0.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.3 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>
49424d2d444459532d5433363935304d2d533936482063796c20313439373020
616c742032206864203132207365632033393900000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000100000000000000000008000200000003000100050000000000000000
0000000000000000000000080000003f000000000000000000000000600ddeee
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000027103a7c00000000000000013a7a0002000c018f00000000000000dc
002d96c000000000001012b0000000000445b1c8000000000000000000000000
00000000000000000000000000000000000000000000034c04080858dabe5ec8
</hexdata>
</sector>
</DISKIMAGE>