The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 mounting an ISO in fBSD 5.x
Author: Jim Salter 
Date:   14-12-03 00:02

vnconfig is no longer used in 5.x. To mount an image under FreeBSD 5.x, you'll need to do something like this:

ph34r# mdconfig -a -t vnode -f /path/to/image.iso -u 1
ph34r# mount -t cd9660 /dev/md1 /mnt/cdrom

note that -u 1 matches up with /dev/md1. If you needed to mount more than one device this way, you would use -u x with /dev/mdx as appropriate.

To dismount the ISO and destroy the virtual device (thus allowing you to do things like write to the ISO file), you would issue the following:

ph34r# mount -u /mnt/cdrom
ph34r# mdconfig -d -u 1

Hope that helps some folks...

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org