Garl R. Grigsby wrote:
> How do you mount an iso file? I have done this in the past, but for the life
> of me I cannot figure it out now.
BE SURE TO MOUNT READ_ONLY. (Ask me how I know.)
Use the loopback device. Here's an example.
root# ls
README mandrake71-ext.iso mandrake71-inst.iso md5sums
root# losetup /dev/loop0 mandrake71-inst.iso
root# mount -o ro /dev/loop0 /mnt/disk
root# ls /mnt/disk
COPYING VERSION dosutils/ install.htm rr_moved/
Mandrake/ autorun.inf images/ lnx4win/
RPM-GPG-KEYS doc/ index.htm misc/
root# umount /mnt/disk
root# ls /mnt/disk
root#
The "-o ro" arg to mount means read only.
Basically, the loopback device, /dev/loop[0-7], makes a disk file
act like a block device. You use losetup to associate the file
with the device. Once it's associated, you can mount it.
--
K<bob>
[EMAIL PROTECTED], http://www.jogger-egg.com/