Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2019 21:42:11 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Ernie Luzar <luzar722@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: method to to cd through .iso file
Message-ID:  <20190709214211.4c42d3cb.freebsd@edvax.de>
In-Reply-To: <5D24EBBE.9080801@gmail.com>
References:  <5D24EBBE.9080801@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190709214211.4c42d3cb.freebsd>