method to to cd through .iso file

Polytropon freebsd at edvax.de
Tue Jul 9 19:42:18 UTC 2019


On Tue, 09 Jul 2019 15:32:14 -0400, Ernie Luzar wrote:
> I have used in the past a method of console commands to mount the 
> RELEASE-amd64-disc1.iso file so I can cd through its directory 
> structure. But I have forgotten how to do it.
> Can someone please post the method.

I think a virtual node is the way to do this. Example:

	# mdconfig -a -t vnode -u 0 -f something.iso
	# mount -o ro -t cd9660 /dev/md0 /mnt

	...

	# umount /mnt
	# mdconfig -d -u 0

By the way, the Midnight Commander can "open" an .iso image
like a directory (or an archive), and you can use it to
navigate inside the file. Very convenient tool. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list