Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2000 22:34:20 -0400
From:      Yoshihiro Ota <st96yb9t@drexel.edu>
To:        "Christian Wendell C. Gueco" <cwgueco@asti.dost.gov.ph>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mounting an iso-image?
Message-ID:  <0FTL00K4CR0CMG@mail.ocs.drexel.edu>
In-Reply-To: <Pine.SUN.3.91.1000426092627.11416A-100000@belle>

next in thread | previous in thread | raw e-mail | index | archive | help
At 9:48 AM +0800 4/26/00, Christian Wendell C. Gueco wrote:
> Hello,
>
> 	I just would like to know how to mount an iso-image (*.iso) in a
> FreeBSD 3.4 such that I can view its contents before burning it. I know
> this can be done in linux using a loop option but what is its
> corresponding command in FreeBSD?
>
> TIA,
>
> Christian

You have to recompile the kernel with "pseudo-device   vn" option.
See LINT.
Then, make vn devices, such as
#cd /dev; ./MAKEDEV vn0;
To mount,
#vnconfig /dev/vn0 image.iso;
#mount -t cd9660 -o ro /dev/vn0 /cdrom
To unmount,
#umount /cdrom
#vnconfig -u /dev/vn0

Hiro




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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