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

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

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

Post 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 848 times
terminal2.png
terminal2.png (16.24 KiB) Viewed 848 times
LoopImg.tar.gz
(34.72 KiB) Downloaded 75 times
Post Reply

Return to “Users”