Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2005 19:36:12 +0300
From:      Can Berk Guder <cbguder@su.sabanciuniv.edu>
To:        Steven Friedrich <FreeBSD@InsightBB.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Can I mount an ISO image directly with mount?
Message-ID:  <1117470972.429b40fcc83e5@webmail.sabanciuniv.edu>
In-Reply-To: <200505301101.59780.FreeBSD@InsightBB.com>
References:  <200505301101.59780.FreeBSD@InsightBB.com>

next in thread | previous in thread | raw e-mail | index | archive | help
OK, here's how you do it on Linux:

# mount -o loop -t iso9660 <ISO filename> <mount destination>

eg.: # mount -o loop -t iso9660 /home/steven/5.4-RELEASE-i386-disc1.iso
/var/ftp/pub/freebsd-5.4/

Apparently, however this doesn't work on FreeBSD. AFAIK, this should work:

# mdconfig -a -t vnode -f <ISO filename> -u 0
# mount -t cd9660 /dev/md0 <mount destination>

eg.:

# mdconfig -a -t vnode -f /home/steven/5.4-RELEASE-i386-disc1.iso -u 0
# mount -t cd9660 /dev/md0 /var/ftp/pub/freebsd-5.4/

Regards,
-- 
Can Berk Guder
Sabanci University
Istanbul, Turkey

Quoting Steven Friedrich <FreeBSD@InsightBB.com>:

> I believe I read a posting over a year ago, that stated that you could mount
> 
> an ISO file directly with mount.
> 
> I searched the archives but couldn't find it.
> I searched the FAQ and handbook as well.
> 
> I do see a section in the handbook about doing it with vn, but I want to know
> 
> if it's possible with mount alone.
> 
> -- 
> i386 FreeBSD 4.11-STABLE
> There are 10 types of people in this world. Ones that understand binary and
> 
> then, the others.



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