Use img file as block device

I created an img file using dd (sudo dd if=/dev/zero of=/home/danialbehzadi/dong.img bs=1000K count=32) and now I want it to be used as a block device, so I can restore a filesystem saved by fasrachiver into it. I already tried restoring directly to file: oper_restore.c#152,convert_argv_to_strdicos(): "dong.img" is not a valid block device and mounting it and… Read More Use img file as block device