Posted in Code, Linux A Shell Scirpt to Mount ISO files Binny V A May 13, 2009 3 Comments on A Shell Scirpt to Mount ISO files A Shell Scirpt to Mount ISO files – call it using the command moustiso.sh ImageFile.iso. You need a folder called /mnt/Image for this to work #!/bin/sh sudo mount -o loop "$*" /mnt/Image/ Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.
Binny, This is how the Google Alert Subscription to Blogs let me track all blogs of a single author in one go, and doing all that in Safe mode 😛 🙂 Reply
you should take care of number of loop devices /dev/loop*. You can’t mount any ISO files if there isn’t any /dev/loopX left. Reply
Hi, You might also want to do the following 1. Create a mount point as a failsafe before attempting to mount the iso into /mnt/Image. 2. Unmount any image at the mount point regards, Reply
Binny,
This is how the Google Alert Subscription to Blogs let me track all blogs of a single author in one go, and doing all that in Safe mode 😛
🙂
you should take care of number of loop devices /dev/loop*. You can’t mount any ISO files if there isn’t any /dev/loopX left.
Hi,
You might also want to do the following
1. Create a mount point as a failsafe before attempting to mount the iso into /mnt/Image.
2. Unmount any image at the mount point
regards,