freebsd-nq/tools/regression/geom/Data/disk.flat.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

98 lines
4.8 KiB
XML

<?xml version="1.0"?>
<DISKIMAGE>
<comment>
$FreeBSD$
This image contains an interesting setup: there is an MBR+BSD
but also another BSD at sector one which is valid but bogus.
</comment>
<sectorsize>512</sectorsize>
<mediasize>0</mediasize>
<fwsectors>0</fwsectors>
<fwheads>0</fwheads>
<fwcylinders>0</fwcylinders>
<sector>
<offset>0</offset>
<hexdata>
fc31c08ec08ed88ed0bc007cbe1a7cbf1a06b9e601f3a4e9008a31f6bbbe07b1
04382f74087f7885f6757489de80c310e2ef85f67502cd1880fa80720b8a3675
0480c68038f272028a1489e78a74018b4c02bb007c80feff753283f9ff752d51
53bbaa55b441cd13722081fb55aa751af6c10174155b666a0066ff740806536a
016a1089e6b80042eb055b59b80102cd1389fc720f81bffe0155aa750cffe3be
bc06eb11bed406eb0cbef306eb07bb0700b40ecd10ac84c075f4ebfe496e7661
6c696420706172746974696f6e207461626c65004572726f72206c6f6164696e
67206f7065726174696e672073797374656d004d697373696e67206f70657261
74696e672073797374656d000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000008001
0100a5feffff3f0000003a612302000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000055aa
</hexdata>
</sector>
<sector>
<offset>512</offset>
<hexdata>
5745568204000000534541474154452053543331383433360000000000000000
000000000000000000020000000800000100000072440000000800000004fb00
0000000000000000100e01000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000057455682e29908000020000000200000002001000000000000040000
07081000000008000020010000000000010000000004fb000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000e0f100002009000004000007081000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
</hexdata>
</sector>
<sector>
<offset>32256</offset>
<hexdata>
eb1b9090161f666a005150065331c088f0506a1089e5e8c7008d6610cbfc31c9
8ec18ed98ed1bc007c89e6bf0007fec5f3a5beee7d80fa80722cb601e86700b9
0100bebe8db601807c04a57507e319f60480751483c610fec680fe0572e949e3
e1be8b7deb5231d289160009b610e83500bb00908b770a01debf00b0b900ac29
f1f3a429f930c0f3aae80300e98113fae464a80275fab0d1e664e464a80275fa
b0dfe660fbc3bb008c8b44088b4c0a0ee853ff732abe867de81c00be907de816
0030e4cd16c70672043412ea0000ffffbb0700b40ecd10ac84c075f4b401f9c3
52b408cd1388f55a72f580e13f74edfa668b460852660fb6d96631d266f7f388
eb88d54330d266f7f388d75a663dff030000fb774486c4c0c80208e8409188fe
28e08a660238e0720288e0bf0500c45e0450b402cd135b730a4f741c30e4cd13
93ebeb0fb6c30146087303ff460ad0e3005e052846027788c32ef6069908800f
8479ffbbaa5552b441cd135a0f826fff81fb55aa0f8564fff6c1010f845dff89
eeb442cd13c35265616400426f6f7400206572726f720d0a0080909090909090
9090909090909090909090909090909090909090909090909090909090900000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000080000100a5ffffff0000000050c3000055aa
</hexdata>
</sector>
<sector>
<offset>32768</offset>
<hexdata>
5745568204000000646131733100000000000000000000000000000000000000
0000000000000000000200003f000000ff000000b8080000c13e00003a612302
0000000000000000100e01000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000005745568233c408000020000000200000000000000000000000000000
0000000000800c003f800c0000000000010000003a6123023f00000000000000
000000000000000000000000000000000000000000800c003f00000000040000
07081600000020003f00190000040000070816003a61ea013f00390000040000
0708160000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
</hexdata>
</sector>
</DISKIMAGE>