1
0
Fork 0
util-linux/tests/expected/blkdiscard/offsets
Daniel Baumann c36e531662
Adding upstream version 2.41.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 11:26:35 +02:00

50 lines
990 B
Text

create loop device from image
testing offsets with full block size
Discarded 10485760 bytes from the offset 0
ret: 0
ret: 1
ret: 1
Discarded 10485248 bytes from the offset 512
ret: 0
Discarded 10484736 bytes from the offset 1024
ret: 0
testing offsets with specific length
Discarded 5242880 bytes from the offset 0
ret: 0
ret: 1
ret: 1
ret: 1
ret: 1
Discarded 5242880 bytes from the offset 512
ret: 0
Discarded 5242880 bytes from the offset 1024
ret: 0
testing aligned steps full device
Discarded 10485760 bytes from the offset 0
ret: 0
Discarded 10485760 bytes from the offset 0
ret: 0
testing aligned steps with offsets and length
Discarded 1024 bytes from the offset 0
ret: 0
ret: 1
ret: 1
ret: 1
Discarded 1536 bytes from the offset 512
ret: 0
Discarded 1024 bytes from the offset 1024
ret: 0
testing misaligned steps full device
ret: 1
ret: 1
ret: 1
ret: 1
ret: 1
testing misaligned steps with offsets and length
ret: 1
ret: 1
ret: 1
ret: 1
ret: 1
ret: 1
detach loop device from image