Tuesday, November 3, 2009

Mounting ISO files

Often we come across a situation where it would be great if we can peak into an ISO file content.
In freebsd things have changed these days on how we can mount a ISO file. Previously we were mounting that ISO file to a loopback device which no longer works now
So the steps to mount a ISO file are as follows
We gona take help of mdconfig

But bfore doing anything lets create a directory at root for mounting purpose
#mkdir /cddump

Ok lets create the md device file the iso file mounting
#mdconfig -a -t vnode -f

Once you are successful with it lets mount it to tle directory we created
#mount -t cd9660 /dev/md0 /cddump

Ok thats it, change the directory to /cddump and have a look at the content.
Enjoy

No comments:

Post a Comment