Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2019 21:44:34 +0200 (CEST)
From:      =?UTF-8?Q?Trond_Endrest=C3=B8l?= <trond.endrestol@ximalas.info>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: method to to cd through .iso file
Message-ID:  <alpine.BSF.2.21.9999.1907092141120.6033@enterprise.ximalas.info>
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, 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.9999.1907092141120.6033>