Add more tests for ext2 (copy from xfs)
It looks like the ext driver does not handle sparse files / holes correctly.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/> umka_boot
|
||||
/> disk_add ../../img/ext2_s05k.qcow2 hd0 -c 0
|
||||
/hd0: sector_size=512, capacity=10485760 (5 GiB), num_partitions=1
|
||||
/hd0/1: fs=ext, start=2048 (1 MiB), length=10481664 (5118 MiB)
|
||||
/> touch70 /hd0/1/dir_a -H -R -S -a 2001-02-03_04:05:06 -c 2005-06-07_08:09:10 -m 2009-10-11_12:13:14
|
||||
status = 0 success
|
||||
status = 0 success
|
||||
/> stat70 /hd0/1/dir_a -acm
|
||||
status = 0 success
|
||||
attr: ----f
|
||||
atime: 2001.02.03 04:05:06
|
||||
mtime: 2009.10.11 12:13:14
|
||||
ctime: 2005.04.03 11:22:33
|
||||
/> touch70 /hd0/1/dir_a -s -c 2025-12-31_23:59:59
|
||||
status = 0 success
|
||||
status = 0 success
|
||||
/> stat70 /hd0/1/dir_a -acm
|
||||
status = 0 success
|
||||
attr: ----f
|
||||
atime: 2001.02.03 04:05:06
|
||||
mtime: 2009.10.11 12:13:14
|
||||
ctime: 2005.04.03 11:22:33
|
||||
/> disk_del hd0
|
||||
@@ -0,0 +1,7 @@
|
||||
umka_boot
|
||||
disk_add ../../img/ext2_s05k.qcow2 hd0 -c 0
|
||||
touch70 /hd0/1/dir_a -H -R -S -a 2001-02-03_04:05:06 -c 2005-06-07_08:09:10 -m 2009-10-11_12:13:14
|
||||
stat70 /hd0/1/dir_a -acm
|
||||
touch70 /hd0/1/dir_a -s -c 2025-12-31_23:59:59
|
||||
stat70 /hd0/1/dir_a -acm
|
||||
disk_del hd0
|
||||
@@ -0,0 +1,3 @@
|
||||
syscall:f70,f70s6
|
||||
fs:ext,ext2,rw,touch
|
||||
blkdev:s05k
|
||||
@@ -0,0 +1 @@
|
||||
10s
|
||||
@@ -0,0 +1,273 @@
|
||||
/> umka_boot
|
||||
/> disk_add ../../img/ext2_s05k.qcow2 hd0 -c 524288
|
||||
/hd0: sector_size=512, capacity=10485760 (5 GiB), num_partitions=1
|
||||
/hd0/1: fs=ext, start=2048 (1 MiB), length=10481664 (5118 MiB)
|
||||
/> # hole begin
|
||||
/> # zero length
|
||||
/> read70 /hd0/1/hole_begin 0 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 1 0 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x3ffe 0 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x3fff 0 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x4000 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x4001 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> # one-byte length
|
||||
/> read70 /hd0/1/hole_begin 0 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 1 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x3ffe 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x3fff 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x4000 1 -b
|
||||
status = 0 success, count = 1
|
||||
00
|
||||
/> read70 /hd0/1/hole_begin 0x4001 1 -b
|
||||
status = 0 success, count = 1
|
||||
40
|
||||
/> # fixed-size block, different begin/end positions
|
||||
/> read70 /hd0/1/hole_begin 0 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 1 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x3ff4 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x3ff5 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x3ff6 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x3ff7 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x3ffe 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x3fff 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_begin 0x4000 11 -b
|
||||
status = 0 success, count = 11
|
||||
004002400440064008400a
|
||||
/> read70 /hd0/1/hole_begin 0x4001 11 -b
|
||||
status = 0 success, count = 11
|
||||
4002400440064008400a40
|
||||
/>
|
||||
/> # hole middle
|
||||
/> # zero length
|
||||
/> read70 /hd0/1/hole_middle 0x7ffe 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0x7fff 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0x8000 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0x8001 0 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xbffe 0 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xbfff 0 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xc000 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xc001 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> # one-byte length
|
||||
/> read70 /hd0/1/hole_middle 0x7ffe 1 -b
|
||||
status = 0 success, count = 1
|
||||
fe
|
||||
/> read70 /hd0/1/hole_middle 0x7fff 1 -b
|
||||
status = 0 success, count = 1
|
||||
7f
|
||||
/> read70 /hd0/1/hole_middle 0x8000 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0x8001 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xbffe 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xbfff 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xc000 1 -b
|
||||
status = 0 success, count = 1
|
||||
00
|
||||
/> read70 /hd0/1/hole_middle 0xc001 1 -b
|
||||
status = 0 success, count = 1
|
||||
c0
|
||||
/> # fixed-size block, different begin/end positions
|
||||
/> read70 /hd0/1/hole_middle 0x7ff4 11 -b
|
||||
status = 0 success, count = 11
|
||||
f47ff67ff87ffa7ffc7ffe
|
||||
/> read70 /hd0/1/hole_middle 0x7ff5 11 -b
|
||||
status = 0 success, count = 11
|
||||
7ff67ff87ffa7ffc7ffe7f
|
||||
/> read70 /hd0/1/hole_middle 0x7ff6 11 -b
|
||||
status = 6 end_of_file, count = 10
|
||||
f67ff87ffa7ffc7ffe7f
|
||||
/> read70 /hd0/1/hole_middle 0x7ff7 11 -b
|
||||
status = 6 end_of_file, count = 9
|
||||
7ff87ffa7ffc7ffe7f
|
||||
/> read70 /hd0/1/hole_middle 0x7ffe 11 -b
|
||||
status = 6 end_of_file, count = 2
|
||||
fe7f
|
||||
/> read70 /hd0/1/hole_middle 0x7fff 11 -b
|
||||
status = 6 end_of_file, count = 1
|
||||
7f
|
||||
/> read70 /hd0/1/hole_middle 0x8000 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0x8001 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xbff4 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xbff5 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xbff6 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xbff7 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xbffe 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xbfff 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_middle 0xc000 11 -b
|
||||
status = 0 success, count = 11
|
||||
00c002c004c006c008c00a
|
||||
/> read70 /hd0/1/hole_middle 0xc001 11 -b
|
||||
status = 0 success, count = 11
|
||||
c002c004c006c008c00ac0
|
||||
/>
|
||||
/> # hole end
|
||||
/> # zero length
|
||||
/> read70 /hd0/1/hole_end 0xbffe 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xbfff 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xc000 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xc001 0 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xfffe 0 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xffff 0 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0x10000 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0x10001 0 -b
|
||||
status = 32774 unknown
|
||||
/> # one-byte length
|
||||
/> read70 /hd0/1/hole_end 0xbffe 1 -b
|
||||
status = 0 success, count = 1
|
||||
fe
|
||||
/> read70 /hd0/1/hole_end 0xbfff 1 -b
|
||||
status = 0 success, count = 1
|
||||
bf
|
||||
/> read70 /hd0/1/hole_end 0xc000 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xc001 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xfffe 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xffff 1 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0x10000 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/hole_end 0x10001 1 -b
|
||||
status = 32774 unknown
|
||||
/> # fixed-size block, different begin/end positions
|
||||
/> read70 /hd0/1/hole_end 0xbff4 11 -b
|
||||
status = 0 success, count = 11
|
||||
f4bff6bff8bffabffcbffe
|
||||
/> read70 /hd0/1/hole_end 0xbff5 11 -b
|
||||
status = 0 success, count = 11
|
||||
bff6bff8bffabffcbffebf
|
||||
/> read70 /hd0/1/hole_end 0xbff6 11 -b
|
||||
status = 6 end_of_file, count = 10
|
||||
f6bff8bffabffcbffebf
|
||||
/> read70 /hd0/1/hole_end 0xbff7 11 -b
|
||||
status = 6 end_of_file, count = 9
|
||||
bff8bffabffcbffebf
|
||||
/> read70 /hd0/1/hole_end 0xbffe 11 -b
|
||||
status = 6 end_of_file, count = 2
|
||||
febf
|
||||
/> read70 /hd0/1/hole_end 0xbfff 11 -b
|
||||
status = 6 end_of_file, count = 1
|
||||
bf
|
||||
/> read70 /hd0/1/hole_end 0xc000 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xc001 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xfff4 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xfff5 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xfff6 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xfff7 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xfffe 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0xffff 11 -b
|
||||
status = 6 end_of_file, count = 0
|
||||
|
||||
/> read70 /hd0/1/hole_end 0x10000 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/hole_end 0x10001 11 -b
|
||||
status = 32774 unknown
|
||||
/>
|
||||
/> disk_del hd0
|
||||
@@ -0,0 +1,104 @@
|
||||
umka_boot
|
||||
disk_add ../../img/ext2_s05k.qcow2 hd0 -c 524288
|
||||
# hole begin
|
||||
# zero length
|
||||
read70 /hd0/1/hole_begin 0 0 -b
|
||||
read70 /hd0/1/hole_begin 1 0 -b
|
||||
read70 /hd0/1/hole_begin 0x3ffe 0 -b
|
||||
read70 /hd0/1/hole_begin 0x3fff 0 -b
|
||||
read70 /hd0/1/hole_begin 0x4000 0 -b
|
||||
read70 /hd0/1/hole_begin 0x4001 0 -b
|
||||
# one-byte length
|
||||
read70 /hd0/1/hole_begin 0 1 -b
|
||||
read70 /hd0/1/hole_begin 1 1 -b
|
||||
read70 /hd0/1/hole_begin 0x3ffe 1 -b
|
||||
read70 /hd0/1/hole_begin 0x3fff 1 -b
|
||||
read70 /hd0/1/hole_begin 0x4000 1 -b
|
||||
read70 /hd0/1/hole_begin 0x4001 1 -b
|
||||
# fixed-size block, different begin/end positions
|
||||
read70 /hd0/1/hole_begin 0 11 -b
|
||||
read70 /hd0/1/hole_begin 1 11 -b
|
||||
read70 /hd0/1/hole_begin 0x3ff4 11 -b
|
||||
read70 /hd0/1/hole_begin 0x3ff5 11 -b
|
||||
read70 /hd0/1/hole_begin 0x3ff6 11 -b
|
||||
read70 /hd0/1/hole_begin 0x3ff7 11 -b
|
||||
read70 /hd0/1/hole_begin 0x3ffe 11 -b
|
||||
read70 /hd0/1/hole_begin 0x3fff 11 -b
|
||||
read70 /hd0/1/hole_begin 0x4000 11 -b
|
||||
read70 /hd0/1/hole_begin 0x4001 11 -b
|
||||
|
||||
# hole middle
|
||||
# zero length
|
||||
read70 /hd0/1/hole_middle 0x7ffe 0 -b
|
||||
read70 /hd0/1/hole_middle 0x7fff 0 -b
|
||||
read70 /hd0/1/hole_middle 0x8000 0 -b
|
||||
read70 /hd0/1/hole_middle 0x8001 0 -b
|
||||
read70 /hd0/1/hole_middle 0xbffe 0 -b
|
||||
read70 /hd0/1/hole_middle 0xbfff 0 -b
|
||||
read70 /hd0/1/hole_middle 0xc000 0 -b
|
||||
read70 /hd0/1/hole_middle 0xc001 0 -b
|
||||
# one-byte length
|
||||
read70 /hd0/1/hole_middle 0x7ffe 1 -b
|
||||
read70 /hd0/1/hole_middle 0x7fff 1 -b
|
||||
read70 /hd0/1/hole_middle 0x8000 1 -b
|
||||
read70 /hd0/1/hole_middle 0x8001 1 -b
|
||||
read70 /hd0/1/hole_middle 0xbffe 1 -b
|
||||
read70 /hd0/1/hole_middle 0xbfff 1 -b
|
||||
read70 /hd0/1/hole_middle 0xc000 1 -b
|
||||
read70 /hd0/1/hole_middle 0xc001 1 -b
|
||||
# fixed-size block, different begin/end positions
|
||||
read70 /hd0/1/hole_middle 0x7ff4 11 -b
|
||||
read70 /hd0/1/hole_middle 0x7ff5 11 -b
|
||||
read70 /hd0/1/hole_middle 0x7ff6 11 -b
|
||||
read70 /hd0/1/hole_middle 0x7ff7 11 -b
|
||||
read70 /hd0/1/hole_middle 0x7ffe 11 -b
|
||||
read70 /hd0/1/hole_middle 0x7fff 11 -b
|
||||
read70 /hd0/1/hole_middle 0x8000 11 -b
|
||||
read70 /hd0/1/hole_middle 0x8001 11 -b
|
||||
read70 /hd0/1/hole_middle 0xbff4 11 -b
|
||||
read70 /hd0/1/hole_middle 0xbff5 11 -b
|
||||
read70 /hd0/1/hole_middle 0xbff6 11 -b
|
||||
read70 /hd0/1/hole_middle 0xbff7 11 -b
|
||||
read70 /hd0/1/hole_middle 0xbffe 11 -b
|
||||
read70 /hd0/1/hole_middle 0xbfff 11 -b
|
||||
read70 /hd0/1/hole_middle 0xc000 11 -b
|
||||
read70 /hd0/1/hole_middle 0xc001 11 -b
|
||||
|
||||
# hole end
|
||||
# zero length
|
||||
read70 /hd0/1/hole_end 0xbffe 0 -b
|
||||
read70 /hd0/1/hole_end 0xbfff 0 -b
|
||||
read70 /hd0/1/hole_end 0xc000 0 -b
|
||||
read70 /hd0/1/hole_end 0xc001 0 -b
|
||||
read70 /hd0/1/hole_end 0xfffe 0 -b
|
||||
read70 /hd0/1/hole_end 0xffff 0 -b
|
||||
read70 /hd0/1/hole_end 0x10000 0 -b
|
||||
read70 /hd0/1/hole_end 0x10001 0 -b
|
||||
# one-byte length
|
||||
read70 /hd0/1/hole_end 0xbffe 1 -b
|
||||
read70 /hd0/1/hole_end 0xbfff 1 -b
|
||||
read70 /hd0/1/hole_end 0xc000 1 -b
|
||||
read70 /hd0/1/hole_end 0xc001 1 -b
|
||||
read70 /hd0/1/hole_end 0xfffe 1 -b
|
||||
read70 /hd0/1/hole_end 0xffff 1 -b
|
||||
read70 /hd0/1/hole_end 0x10000 1 -b
|
||||
read70 /hd0/1/hole_end 0x10001 1 -b
|
||||
# fixed-size block, different begin/end positions
|
||||
read70 /hd0/1/hole_end 0xbff4 11 -b
|
||||
read70 /hd0/1/hole_end 0xbff5 11 -b
|
||||
read70 /hd0/1/hole_end 0xbff6 11 -b
|
||||
read70 /hd0/1/hole_end 0xbff7 11 -b
|
||||
read70 /hd0/1/hole_end 0xbffe 11 -b
|
||||
read70 /hd0/1/hole_end 0xbfff 11 -b
|
||||
read70 /hd0/1/hole_end 0xc000 11 -b
|
||||
read70 /hd0/1/hole_end 0xc001 11 -b
|
||||
read70 /hd0/1/hole_end 0xfff4 11 -b
|
||||
read70 /hd0/1/hole_end 0xfff5 11 -b
|
||||
read70 /hd0/1/hole_end 0xfff6 11 -b
|
||||
read70 /hd0/1/hole_end 0xfff7 11 -b
|
||||
read70 /hd0/1/hole_end 0xfffe 11 -b
|
||||
read70 /hd0/1/hole_end 0xffff 11 -b
|
||||
read70 /hd0/1/hole_end 0x10000 11 -b
|
||||
read70 /hd0/1/hole_end 0x10001 11 -b
|
||||
|
||||
disk_del hd0
|
||||
@@ -0,0 +1,3 @@
|
||||
syscall:f70,f70s0
|
||||
fs:ext,hole
|
||||
blkdev:s05k
|
||||
@@ -0,0 +1 @@
|
||||
10s
|
||||
@@ -0,0 +1,170 @@
|
||||
/> umka_boot
|
||||
/> disk_add ../../img/ext2_s05k.qcow2 hd0 -c 524288
|
||||
/hd0: sector_size=512, capacity=10485760 (5 GiB), num_partitions=1
|
||||
/hd0/1: fs=ext, start=2048 (1 MiB), length=10481664 (5118 MiB)
|
||||
/> # zero length
|
||||
/> read70 /hd0/1/no_hole 0 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 1 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 0xffe 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 0xfff 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 0x1000 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 0x1001 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 0x1ffe 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 0x1fff 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 0x2000 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 0xfffe 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 0xffff 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 0x10000 0 -b
|
||||
status = 0 success, count = 0
|
||||
|
||||
/> read70 /hd0/1/no_hole 0x10001 0 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x1ffff 0 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x10000000 0 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x1000ffff 0 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffff0000 0 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffff0001 0 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffffffff 0 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x100000000 0 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x100000001 0 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x1ffffffff 0 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffffffff00000000 0 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffffffffffffffff 0 -b
|
||||
status = 32774 unknown
|
||||
/> # one-byte length
|
||||
/> read70 /hd0/1/no_hole 0 1 -b
|
||||
status = 0 success, count = 1
|
||||
00
|
||||
/> read70 /hd0/1/no_hole 1 1 -b
|
||||
status = 0 success, count = 1
|
||||
01
|
||||
/> read70 /hd0/1/no_hole 0xffe 1 -b
|
||||
status = 0 success, count = 1
|
||||
fe
|
||||
/> read70 /hd0/1/no_hole 0xfff 1 -b
|
||||
status = 0 success, count = 1
|
||||
0f
|
||||
/> read70 /hd0/1/no_hole 0x1000 1 -b
|
||||
status = 0 success, count = 1
|
||||
00
|
||||
/> read70 /hd0/1/no_hole 0x1001 1 -b
|
||||
status = 0 success, count = 1
|
||||
10
|
||||
/> read70 /hd0/1/no_hole 0x1ffe 1 -b
|
||||
status = 0 success, count = 1
|
||||
fe
|
||||
/> read70 /hd0/1/no_hole 0x1fff 1 -b
|
||||
status = 0 success, count = 1
|
||||
1f
|
||||
/> read70 /hd0/1/no_hole 0x2000 1 -b
|
||||
status = 0 success, count = 1
|
||||
00
|
||||
/> read70 /hd0/1/no_hole 0xfffe 1 -b
|
||||
status = 0 success, count = 1
|
||||
fe
|
||||
/> read70 /hd0/1/no_hole 0xffff 1 -b
|
||||
status = 0 success, count = 1
|
||||
ff
|
||||
/> read70 /hd0/1/no_hole 0x10000 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x10001 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x1ffff 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x10000000 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x1000ffff 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffff0000 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffff0001 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffffffff 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x100000000 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x100000001 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x1ffffffff 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffffffff00000000 1 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffffffffffffffff 1 -b
|
||||
status = 32774 unknown
|
||||
/> # fixed-size block, different begin/end positions
|
||||
/> read70 /hd0/1/no_hole 0 11 -b
|
||||
status = 0 success, count = 11
|
||||
000102030405060708090a
|
||||
/> read70 /hd0/1/no_hole 1 11 -b
|
||||
status = 0 success, count = 11
|
||||
0102030405060708090a0b
|
||||
/> read70 /hd0/1/no_hole 0xfff4 11 -b
|
||||
status = 0 success, count = 11
|
||||
f4fff6fff8fffafffcfffe
|
||||
/> read70 /hd0/1/no_hole 0xfff5 11 -b
|
||||
status = 0 success, count = 11
|
||||
fff6fff8fffafffcfffeff
|
||||
/> read70 /hd0/1/no_hole 0xfff6 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xfffe 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffff 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x10000 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x10001 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x10000000 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x10000001 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x1000ffff 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffff0000 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffffffff 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x100000000 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x100000001 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0x1ffffffff 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffffffff00000000 11 -b
|
||||
status = 32774 unknown
|
||||
/> read70 /hd0/1/no_hole 0xffffffffffffffff 11 -b
|
||||
status = 32774 unknown
|
||||
/>
|
||||
/> disk_del hd0
|
||||
@@ -0,0 +1,74 @@
|
||||
umka_boot
|
||||
disk_add ../../img/ext2_s05k.qcow2 hd0 -c 524288
|
||||
# zero length
|
||||
read70 /hd0/1/no_hole 0 0 -b
|
||||
read70 /hd0/1/no_hole 1 0 -b
|
||||
read70 /hd0/1/no_hole 0xffe 0 -b
|
||||
read70 /hd0/1/no_hole 0xfff 0 -b
|
||||
read70 /hd0/1/no_hole 0x1000 0 -b
|
||||
read70 /hd0/1/no_hole 0x1001 0 -b
|
||||
read70 /hd0/1/no_hole 0x1ffe 0 -b
|
||||
read70 /hd0/1/no_hole 0x1fff 0 -b
|
||||
read70 /hd0/1/no_hole 0x2000 0 -b
|
||||
read70 /hd0/1/no_hole 0xfffe 0 -b
|
||||
read70 /hd0/1/no_hole 0xffff 0 -b
|
||||
read70 /hd0/1/no_hole 0x10000 0 -b
|
||||
read70 /hd0/1/no_hole 0x10001 0 -b
|
||||
read70 /hd0/1/no_hole 0x1ffff 0 -b
|
||||
read70 /hd0/1/no_hole 0x10000000 0 -b
|
||||
read70 /hd0/1/no_hole 0x1000ffff 0 -b
|
||||
read70 /hd0/1/no_hole 0xffff0000 0 -b
|
||||
read70 /hd0/1/no_hole 0xffff0001 0 -b
|
||||
read70 /hd0/1/no_hole 0xffffffff 0 -b
|
||||
read70 /hd0/1/no_hole 0x100000000 0 -b
|
||||
read70 /hd0/1/no_hole 0x100000001 0 -b
|
||||
read70 /hd0/1/no_hole 0x1ffffffff 0 -b
|
||||
read70 /hd0/1/no_hole 0xffffffff00000000 0 -b
|
||||
read70 /hd0/1/no_hole 0xffffffffffffffff 0 -b
|
||||
# one-byte length
|
||||
read70 /hd0/1/no_hole 0 1 -b
|
||||
read70 /hd0/1/no_hole 1 1 -b
|
||||
read70 /hd0/1/no_hole 0xffe 1 -b
|
||||
read70 /hd0/1/no_hole 0xfff 1 -b
|
||||
read70 /hd0/1/no_hole 0x1000 1 -b
|
||||
read70 /hd0/1/no_hole 0x1001 1 -b
|
||||
read70 /hd0/1/no_hole 0x1ffe 1 -b
|
||||
read70 /hd0/1/no_hole 0x1fff 1 -b
|
||||
read70 /hd0/1/no_hole 0x2000 1 -b
|
||||
read70 /hd0/1/no_hole 0xfffe 1 -b
|
||||
read70 /hd0/1/no_hole 0xffff 1 -b
|
||||
read70 /hd0/1/no_hole 0x10000 1 -b
|
||||
read70 /hd0/1/no_hole 0x10001 1 -b
|
||||
read70 /hd0/1/no_hole 0x1ffff 1 -b
|
||||
read70 /hd0/1/no_hole 0x10000000 1 -b
|
||||
read70 /hd0/1/no_hole 0x1000ffff 1 -b
|
||||
read70 /hd0/1/no_hole 0xffff0000 1 -b
|
||||
read70 /hd0/1/no_hole 0xffff0001 1 -b
|
||||
read70 /hd0/1/no_hole 0xffffffff 1 -b
|
||||
read70 /hd0/1/no_hole 0x100000000 1 -b
|
||||
read70 /hd0/1/no_hole 0x100000001 1 -b
|
||||
read70 /hd0/1/no_hole 0x1ffffffff 1 -b
|
||||
read70 /hd0/1/no_hole 0xffffffff00000000 1 -b
|
||||
read70 /hd0/1/no_hole 0xffffffffffffffff 1 -b
|
||||
# fixed-size block, different begin/end positions
|
||||
read70 /hd0/1/no_hole 0 11 -b
|
||||
read70 /hd0/1/no_hole 1 11 -b
|
||||
read70 /hd0/1/no_hole 0xfff4 11 -b
|
||||
read70 /hd0/1/no_hole 0xfff5 11 -b
|
||||
read70 /hd0/1/no_hole 0xfff6 11 -b
|
||||
read70 /hd0/1/no_hole 0xfffe 11 -b
|
||||
read70 /hd0/1/no_hole 0xffff 11 -b
|
||||
read70 /hd0/1/no_hole 0x10000 11 -b
|
||||
read70 /hd0/1/no_hole 0x10001 11 -b
|
||||
read70 /hd0/1/no_hole 0x10000000 11 -b
|
||||
read70 /hd0/1/no_hole 0x10000001 11 -b
|
||||
read70 /hd0/1/no_hole 0x1000ffff 11 -b
|
||||
read70 /hd0/1/no_hole 0xffff0000 11 -b
|
||||
read70 /hd0/1/no_hole 0xffffffff 11 -b
|
||||
read70 /hd0/1/no_hole 0x100000000 11 -b
|
||||
read70 /hd0/1/no_hole 0x100000001 11 -b
|
||||
read70 /hd0/1/no_hole 0x1ffffffff 11 -b
|
||||
read70 /hd0/1/no_hole 0xffffffff00000000 11 -b
|
||||
read70 /hd0/1/no_hole 0xffffffffffffffff 11 -b
|
||||
|
||||
disk_del hd0
|
||||
@@ -0,0 +1,3 @@
|
||||
syscall:f70,f70s0
|
||||
fs:ext,read
|
||||
blkdev:s05k
|
||||
@@ -0,0 +1 @@
|
||||
10s
|
||||
Reference in New Issue
Block a user