Hi,
initially i will mount a image using loop device using below command
mount -n -o loop,noatime,ro -t squashfs /mnt/fsh/bt.img /opt/app/test
then "mount" reflects with below
/dev/loop0 on /opt/app/test type squashfs (ro,noatime)
i will then umount using below commnd, umount is successfull
umount /opt/app/test
After this "mount" output does not have loop0, but "losetup" still shows
/dev/loop0: 0 /mnt/fsh/bt.img
How do i umount such that losetup will be free loop device for bt.img ??