doesn't work, it doesn't provide block device access to more than a bit of the beginning of the file.
Has anyone tried this?
For example, in a shared directory on the guest I tried the following
Code: Select all
truncate -s 1M test1m.img
losetup -f --show test1m.img
# /dev/loop0
hexdump -C test1m.img | less
# Only shows a line or two before getting to an apparent end. Attempts to use
# this as a block device have failed for me so far
Guest: linux, debina wheezy. Host OS X.