Created
December 23, 2009 04:22
-
-
Save icco/262305 to your computer and use it in GitHub Desktop.
used to mount isos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Mounts an iso to a folder | |
| # usage ./mountiso.sh temp.iso mountpoint/ | |
| if [ $# -ne 2 ]; then | |
| echo "Mounts an iso to a folder"; | |
| echo "Usage: $0 <iso> <mountpoint>"; | |
| else | |
| echo "running mount -o loop -t iso9660 $1 $2"; | |
| mount -o loop -t iso9660 $1 $2; | |
| fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment