<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Robbak</id>
		<title>FreeBSDwiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Robbak"/>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Special:Contributions/Robbak"/>
		<updated>2026-04-06T04:16:03Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://freebsdwiki.net/index.php/Mounting_ISOs_under_FreeBSD_5.x</id>
		<title>Mounting ISOs under FreeBSD 5.x</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Mounting_ISOs_under_FreeBSD_5.x"/>
				<updated>2006-06-10T01:26:18Z</updated>
		
		<summary type="html">&lt;p&gt;Robbak: Mount -u is the wrong syntax. Changed to umount.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Under FreeBSD 4.x and prior, a utility called [[vnconfig]] was used for both creating and mounting RAMdisks and mounting ISOs as virtual drives.  However, vnconfig is no longer used in FreeBSD 5.x. To mount an image under a FreeBSD 5.x system, you'll need to use [[mdconfig]], like this:&lt;br /&gt;
&lt;br /&gt;
 ph34r# '''mdconfig -a -t vnode -f /path/to/image.iso -u 1''' &lt;br /&gt;
 ph34r# '''mount -t cd9660 /dev/md1 /mnt/cdrom'''&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
 ph34r# '''umount /dev/md1'''&lt;br /&gt;
 ph34r# '''mdconfig -d -u 1'''&lt;br /&gt;
&lt;br /&gt;
[[Category : Common Tasks]]&lt;/div&gt;</summary>
		<author><name>Robbak</name></author>	</entry>

	</feed>