Getting the file associated with a loop device
I use a lot of loop filesystems (/dev/loopN) with embedded devices, and something that's always bothered me is this: once a loop file has been mounted with a loop device, how do I get the name of the original file?
I tried this:
I found the answer when looking in /sys:
|All times are GMT -5. The time now is 02:44 AM.|