Date: Thu, 25 Jan 2001 16:03:41 +1100 From: Sam Wun <swun@esec.com.au> To: John Reynolds~ <jreynold@sedona.ch.intel.com> Cc: Kevin LEE <klee@esec.com.au>, stable@freebsd.org Subject: Re: How to mount iso image file???? Message-ID: <3A6FB3AC.22BA40BF@esec.com.au> References: <3A6F69FD.97E74874@esec.com.au> <14959.27599.550911.821713@hip186.ch.intel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I got the following errors: #vnconfig -c /dev/vn0c songs.iso vnconfig: VNIOCATTACH: Device busy Sam John Reynolds~ wrote: > [ On Thursday, January 25, Kevin LEE wrote: ] > > Hi all: > > > > In RH7.0, there is a option of loop in the mount command which > > allows you to mount a iso image file to a specified mount point, so that > > the actual content of the iso file can be,viiew.. > > > > ie > > > > mount -t iso9660 -o ro,loop /somedir/somedir.iso /mnt/iso/ > > and > > cd /mnt/iso > > You can view the content of the iso file. > > > > But I can find this option in the mount command in FreeBSD ? > > Is there any to view the context of an iso file before I burn it into a > > CD ???? > > > > Yup. You have to have 'pseudo-device vn' in your kernel config and you have > to make sure the vn* devices are made in /dev. Once you do that, the following > commands will work: > > vnconfig -c /dev/vn0c filename.iso > mount -t cd9660 /dev/vn0c /mnt > > Then you can "cd /mnt" and play around in that "loopback" filesystem to your > heart's content. > > Just be sure to umount it, and "vnconfig -u /dev/vn0c" the vn0c device after > you're done with it. See the man page on vnconfig for more information. > > -Jr > > ps: actually, now that I look in /modules, there is "vn.ko" so you might be > able to get away with doing "kldload vn.ko" (and make sure the device nodes > are in /dev/). > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A6FB3AC.22BA40BF>