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.
220 lines
11 KiB
XML
220 lines
11 KiB
XML
<?xml version="1.0"?>
|
|
<DISKIMAGE>
|
|
<comment>
|
|
$FreeBSD$
|
|
A multislice FreeBSD disk
|
|
</comment>
|
|
<sectorsize>512</sectorsize>
|
|
<mediasize>0</mediasize>
|
|
<sector>
|
|
<offset>0</offset>
|
|
<hexdata>
|
|
fc31c08ec08ed88ed0bc007cbd000a89efb108f3abfe45f252bb000689eeb802
|
|
02e82e015ae9008af686bbfd20750484d278048a96bafd885600e8fc0052bbc2
|
|
0731d2886ffc0fa396bbfd731c8a07bf0f08b103f2ae7411b10df2ae750481c7
|
|
0d008a0d01cfe8c1004280c31073d4582c7f3a067504720548740e30c004b088
|
|
86b8fdbfb207e8a100be0308e8ad008a96b9fd4ee8880030e4cd1a89d703bebc
|
|
fdb401cd16751330e4cd1a39fa72f28a86b9fdeb15b007e88e0030e4cd1688e0
|
|
3c1c74eb2c3b3c0477eb980fa3460c73e48886b9fdbe000a8a1489f33c049c74
|
|
0ac0e00405be0793c6078053f686bbfd407509bb0006b80103e856005e9d7507
|
|
8a96b8fd80ea30bb007cb80102e8420072a381bffe0155aa759be81c00ffe3b0
|
|
46e82400b03100d0eb170fab560cbe0008e8ebff89fee80300be0d08aca88075
|
|
05e80400ebf6247f53bb0700b40ecd105bc38a74018b4c025689e780feff7540
|
|
83f9ff753bf686bbfd8074345153bbaa5550b441cd1358720e81fb55aa7508f6
|
|
c101740380cc405b59f6c4407412666a0066ff740806536a006a1089e6864402
|
|
cd1389fc5ec39090909090909090909001014472697665200000808fb6008001
|
|
0100a5ef7f9f3f000000c1f95f00000041a0a5efffff00fa5f0050e29f0000ff
|
|
ffffa5efffff50dcff0050dcff000000000000000000000000000000000055aa
|
|
</hexdata>
|
|
</sector>
|
|
<sector>
|
|
<offset>512</offset>
|
|
<hexdata>
|
|
2020a00a44656661756c743aa00d8a00050f010406070b0c0e6383a5a6a9b70e
|
|
141312141d1c1b2124282e3439556e6b6e6f77ee444fd357696e646f7773204e
|
|
d457696e646f77f3554e49d84c696e75f8467265654253c44f70656e4253c44e
|
|
65744253c44253442f4fd3000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
</hexdata>
|
|
</sector>
|
|
<sector>
|
|
<offset>32768</offset>
|
|
<hexdata>
|
|
5745568205000000616430733100000000000000000000000000000000000000
|
|
0000000000000000000200003f000000f0000000180a0000103b000080295402
|
|
0000000000000000100e01000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
000000005745568204c108000020000000200000002003003f00000000000000
|
|
0700000000a00f003f2003000000000001000000c1f95f003f00000000000000
|
|
000000000000000000000000000000000000000000a00f003fc0120000000000
|
|
07000000c1993d003f6022000000000007000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
</hexdata>
|
|
</sector>
|
|
<sector>
|
|
<offset>64512</offset>
|
|
<hexdata>
|
|
0000007c0000010002000400f8ff0000000400f8000000000000000000000004
|
|
0000004000000008000000000010007e00800000070000fe1f00000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
</hexdata>
|
|
</sector>
|
|
<sector>
|
|
<offset>104922112</offset>
|
|
<hexdata>
|
|
3310f30d0350fbf66f44ebd906c9963d46b2bf609bb753131e7c24cf9ed194ce
|
|
a59117b612772b207ddcb753df72456f98d0cac567f60526c7b9308afd87e657
|
|
dd45b3d1eb075b6820aa6ea5a0f10511f65a257f0d7d89d88e189bef43786ff5
|
|
a0316511a7a07168f2ef001e71fbc56dd8ddc7866c4856dc979742be22f4badd
|
|
e1fcba7aebe4b5f4bb8b0c89e84de59f0ba48d7a8b00bb1797fc057e3d3d8058
|
|
4b1987ac49b74bed74cb4985850d5be64e8188d40ad0323165b355c512a91523
|
|
5d5211eeb021c754f552b160f9a73c4c5e59370163cf531ca0382cc462f9ac9d
|
|
35612380f7a5d9d5e3bde129ef6fab02347088025d0937fb6c56dc68c283ce9d
|
|
1cfc5b3c7ad1f52faeae05188386cb57cb88c5dccaa2db17a09420ae7d9f9d6e
|
|
058370711f445cff4d4543ee9f0c3054400116304018f68d9c08d05b04680162
|
|
23172b8b1775157790fe5e5100c530e3377d383a0080468b0125e87e8d7dee5f
|
|
46030a238dc8a0000cb4eafc6ad4735f2c16d1642e3834aefbb5bfc25fcc0062
|
|
3a89410ab88839e3ed151cd6bc2b5704c5db4c9fc39662bd3a41347212c664be
|
|
04684e551c0a0362bb3139a460a7c8d178c349a47d724b7d456606b2f47a8d99
|
|
d4af7998148ed93443a828ece96cdb7eb158a21189ed1527bdad7b18b74f168b
|
|
d01fcfde994977174e41ad8f6ea19fac8bb95e5d68643d0457d746cf32531639
|
|
</hexdata>
|
|
</sector>
|
|
<sector>
|
|
<offset>629210112</offset>
|
|
<hexdata>
|
|
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
</hexdata>
|
|
</sector>
|
|
<sector>
|
|
<offset>1153498112</offset>
|
|
<hexdata>
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
</hexdata>
|
|
</sector>
|
|
<sector>
|
|
<offset>3220439552</offset>
|
|
<hexdata>
|
|
5745568205000000616430733200000000000000000000000000000000000000
|
|
0000000000000000000200003f000000f0000000180a0000103b000080295402
|
|
0000000000000000100e01000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000057455682fc1908000020000000200000000000000000000000000000
|
|
000000000000000000000000000000000000000050e29f0000fa5f0000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
</hexdata>
|
|
</sector>
|
|
<sector>
|
|
<offset>6440878080</offset>
|
|
<hexdata>
|
|
0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a
|
|
0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a
|
|
0a0a0a0a0a0a0a0a0a0a0a0a3c4120200a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a
|
|
0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a
|
|
0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a
|
|
0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a
|
|
0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a0a687265663d22687474703a2f2f777777
|
|
2e706c6179626f7973746f72652e636f6d2f70626c696e6b2e6367693f616666
|
|
696c696174653d4d4f3130303030303034353426736b753d4249303130362220
|
|
7461726765743d225f626c616e6b22206f6e6d6f7573656f7665723d22706172
|
|
656e742e77696e646f772e7374617475733d27506c6179626f792053746f7265
|
|
273b2072657475726e2074727565223e3c494d47207372633d22687474703a2f
|
|
2f61313833322e672e616b2e706c6179626f792e636f6d2f372f313833322f32
|
|
332f3939303232313437302f7777772e706c6179626f792e636f6d2f6d616761
|
|
7a696e652f63757272656e742f696d782f636f7665725f696e6465782e6a7067
|
|
2220616c69676e3d72696768742077696474683d223135302220686569676874
|
|
</hexdata>
|
|
</sector>
|
|
<sector>
|
|
<offset>8585257472</offset>
|
|
<hexdata>
|
|
5745568205000000616430733300000000000000000000000000000000000000
|
|
0000000000000000000200003f000000f000000055040000103b000050dcff00
|
|
0000000000000000100e01000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000057455682bcbd0800002000000020000000803e0050dcff0000040000
|
|
070816000000000000000000000000000000000050dcff0050dcff0000000000
|
|
00000000505cc100505c3e010010000007049f00000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
0000000000000000000000000000000000000000000000000000000000000000
|
|
</hexdata>
|
|
</sector>
|
|
</DISKIMAGE>
|