umount

Mounting / un-mounting ISO files from the command line

I would like to summarize how to probe an ISO file from the command line.

Mounting an ISO image file

Create a mount point directory isodir and mount hoge.iso file. The contents of hoge.iso is now accessible through the isodir.

$ mkdir isodir
$ sudo mount -t iso9660 -o loop hoge.iso isodir

Un-mounting an ISO image file

First, make sure that the isodir (and its internal files and irectories) is not being used. Then, issue the following command.

Syndicate content