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 MSDOS floppy image.
|
|
</comment>
|
|
<sectorsize>512</sectorsize>
|
|
<mediasize>0</mediasize>
|
|
<sector>
|
|
<offset>0</offset>
|
|
<hexdata>
|
|
eb3c904d53444f53352e30000201010002e000400bf009001200020000000000
|
|
0000000000002911053b114e4f204e414d45202020204641543132202020fa33
|
|
c08ed0bc007c1607bb780036c5371e561653bf3e7cb90b00fcf3a4061fc645fe
|
|
0f8b0e187c884df9894702c7073e7cfbcd13727933c03906137c74088b0e137c
|
|
890e207ca0107cf726167c03061c7c13161e7c03060e7c83d200a3507c891652
|
|
7ca3497c89164b7cb82000f726117c8b1e0b7c03c348f7f30106497c83164b7c
|
|
00bb00058b16527ca1507ce89200721db001e8ac0072168bfbb90b00bee67df3
|
|
a6750a8d7f20b90b00f3a67418be9e7de85f0033c0cd165e1f8f048f4402cd19
|
|
585858ebe88b471a48488a1e0d7c32fff7e30306497c13164b7cbb0007b90300
|
|
505251e83a0072d8b001e85400595a5872bb05010083d200031e0b7ce2e28a2e
|
|
157c8a16247c8b1e497ca14b7cea00007000ac0ac07429b40ebb0700cd10ebf2
|
|
3b16187c7319f736187cfec288164f7c33d2f7361a7c8816257ca34d7cf8c3f9
|
|
c3b4028b164d7cb106d2e60a364f7c8bca86e98a16247c8a36257ccd13c30d0a
|
|
4e6f6e2d53797374656d206469736b206f72206469736b206572726f720d0a52
|
|
65706c61636520616e6420707265737320616e79206b6579207768656e207265
|
|
6164790d0a00494f2020202020205359534d53444f53202020535953000055aa
|
|
</hexdata>
|
|
</sector>
|
|
<sector>
|
|
<offset>512</offset>
|
|
<hexdata>
|
|
f0ffff03400005600007800009a0000bc0000de0000f00011120011340011560
|
|
0117800119a0011bc0011de0011f000221200223400225600227800229a0022b
|
|
c0022de0022f000331200333400335600337800339a0033bc0033de0033f0004
|
|
41200443400445600447800449a0044bc0044de0044f000551f0ff5340055560
|
|
0557800559a0055bc0055de0055f000661200663400665600667800669a0066b
|
|
c0066de0066f000771200773400775600777800779a0077bc0077de0077f0008
|
|
81200883400885600887800889a0088bc0088de0088f00099120099340099560
|
|
0997800999a0099bc009ffef099f000aa1200aa3400aa5600aa7800aa9a00aab
|
|
c00aade00aaf000bb1200bb3400bb5600bb7800bb9a00bbbc00bbde00bbf000c
|
|
c1200cc3400cc5600cc7800cc9a00ccbc00ccde00ccf000dd1200dd3400dd560
|
|
0dd7800dd9a00ddbc00ddde00ddf000ee1200ee3400ee5600ee7800ee9a00eeb
|
|
c00eede00eef000ff1200ff3400ff5600ff7800ff9a00ffbc00ffde00fff0010
|
|
01211003411005611007f1ff09a1100bc1100de1100f01111121111341111561
|
|
1117811119a1111bc1111de1111f011221211223411225611227811229a1122b
|
|
c1122de1122f011331211333411335611337811339a1133bc1133de1133f0114
|
|
41211443411445611447811449a1144bc1144de1144f01155121155341155561
|
|
</hexdata>
|
|
</sector>
|
|
</DISKIMAGE>
|