method to to cd through .iso file

Trond Endrestøl trond.endrestol at ximalas.info
Tue Jul 9 19:44:42 UTC 2019


On Tue, 9 Jul 2019 15:32-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.

mount -rt cd9660 /dev/cd0 /mnt

I usually have numerous mountpoints in /media readily accessible by 
way of /etc/fstab:

/dev/fd0	/media/a	msdosfs	rw,-l,-m=664,-M=775,noauto	0	0
/dev/cd0	/media/cdrom	cd9660	ro,noauto			0	0
/dev/cd0	/media/dvdrom	udf	ro,noauto			0	0
/dev/md0	/media/dosimage	msdosfs	rw,-l,-m=664,-M=775,noauto	0	0
/dev/fd0	/media/floppy	ufs	rw,noauto			0	0
/dev/md0	/media/isoimage	cd9660	ro,noauto			0	0
/dev/md0	/media/udfimage	udf	ro,noauto			0	0
/dev/md0	/media/ufsimage	ufs	rw,noauto			0	0

I guess I could have switched to the new automounter, but I'm stubborn 
and lazy.

-- 
Trond.


More information about the freebsd-questions mailing list