How can I create a loop device of an existing block device or regular file of size
z so that a certain byte
x > 0) appears as first byte,
x+1 as second, etc. and a certain byte
y as last byte (with
x < y z). It'd be great if there was a solution which could provide subsets of a 1TB device image.
This is not about operations on file level (e.g.
mount -o bind).