Out of curiosity, I would like to know is there any way to find out the source of mounted partition ?e.g. Output of df -h is :/dev/loop1  3M 3M 0 100% /media/loopFrom this output, I know a loop device of 3M is mounted at /media/loop but I have no clue to determine the exact location of /dev/loop1 device.EDIT:root@SHW:~# mount -o loop /home/SHW/Downloads/TinyCore-current.iso/mnt/loop mount: block device /home/SHW/Downloads/TinyCore-current.iso is write-protected, mounting read-onlyroot@SHW:~# tail -n1 /proc/mounts/dev/loop1 /mnt/loop iso9660 ro,relatime 0 0How do I find out the absolute path of /dev/loop1 ? If I don't know who mounted those partitions (In this case the path is /home/SHW/Downloads/TinyCore-current.iso)
Source path of loop-device
linux;loop device
Use losetup's --list option:$ losetup --list /dev/loop0NAME       SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE/dev/loop0         0      0         0  0 /tmp/backing-fileIf you only want the file, use the -O option to pick the column:losetup --list -O BACK-FILE /dev/loop0 | tail -n 1/tmp/backing-fileThis option is part of recent versions of util-linux. Earlier versions support only the -a option, which lists all active devices in a harder-to-process format:losetup -a/dev/loop0: []: (/tmp/backing-file)Either way, it's not overly onerous to process however you want.