Hi, i hope this is the right section to post
i am using tinycorelinux 5.3 (3.14.5-tinycore64)
i try to mount an loop image file with losetup but it fails with
tc@box: sudo losetup -f hdc.img -o 32256
losetup: hdc.img: No such file or directory
sometimes i dont know why i can mount the loop image without deleting any other loop device but most of times if i try it fails as written above
here is an strace of losetup
maybe someone knows how to fix this issue
http://pastebin.com/MeXcgHwCmoun.sh
#!/bin/sh
FILE=hdc.img
OFS=32256
LODEV=`losetup -f`
losetup -o $OFS $LODEV $FILE
thanks
best regards