Page 1 of 1

Re: ISOs can be opened - Can IMGs be opened, similarly?

Posted: Thu Nov 05, 2020 5:45 pm
by Jafadmin

Guess what? Yep, another bash utility. "loopimg"
It loops up and mounts disk image files on /mnt. When you're done you disconnect it with "unloop"

Code: Select all

usage:
$ loopimg sdX.img (it will mount all partitions in /mnt)
$ loopimg sdX1.img (mount an image with a simgle partition)
    (both commands will report the base loop device number)

$ unloop <loop number> (ie: '6')

'unloop' is a symlink to 'loopimg'

Put both in your /MyApplications/bin and you are good to go

terminal1.png
terminal1.png (25.2 KiB) Viewed 824 times
terminal2.png
terminal2.png (16.24 KiB) Viewed 824 times
LoopImg.tar.gz
(34.72 KiB) Downloaded 74 times