460894ff2e
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.
52 lines
2.4 KiB
XML
52 lines
2.4 KiB
XML
<?xml version="1.0"?>
|
|
<DISKIMAGE>
|
|
<comment>
|
|
$FreeBSD$
|
|
A Windows laptop.
|
|
</comment>
|
|
<sectorsize>512</sectorsize>
|
|
<mediasize>0</mediasize>
|
|
<sector>
|
|
<offset>0</offset>
|
|
<hexdata>
|
|
33c08ed0bc007cfb5007501ffcbe1b7cbf1b065057b9e501f3a4cbbebe07b104
|
|
382c7c09751583c610e2f5cd188b148bee83c610497416382c74f6be10074eac
|
|
3c0074fabb0700b40ecd10ebf2894625968a4604b4063c0e7411b40b3c0c7405
|
|
3ac4752b40c64625067524bbaa5550b441cd1358721681fb55aa7510f6c10174
|
|
0b8ae0885624c706a106eb1e886604bf0a00b801028bdc33c983ff057f038b4e
|
|
25034e02cd137229be4607813efe7d55aa745a83ef057fda85f67583be2707eb
|
|
8a9891529903460813560ae812005aebd54f74e433c0cd13ebb8000080093521
|
|
5633f656565250065351be1000568bf45052b800428a5624cd135a588d641072
|
|
0a4075014280c702e2f7f85ec3eb74496e76616c696420706172746974696f6e
|
|
207461626c65004572726f72206c6f6164696e67206f7065726174696e672073
|
|
797374656d004d697373696e67206f7065726174696e672073797374656d0000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000008bfc1e578bf5cb00000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000001
|
|
0100a05304263f00000092d80800805401260befbf730cd90800340a88000000
|
|
00000000000000000000000000000000000000000000000000000000000055aa
|
|
</hexdata>
|
|
</sector>
|
|
<sector>
|
|
<offset>512</offset>
|
|
<hexdata>
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
</hexdata>
|
|
</sector>
|
|
</DISKIMAGE>
|