[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Mount CD Images



And Lo! The Great Prophet " Darrell Blake" uttered these words of wisdom...
> Can anyone tell me if it's possible to mount a .iso file into /mnt/cdrom
> instead of the actual device? I have a load of games on my hard drive in
> .iso format and in windows I usually use a virtual cdrom program but when
> I run games in winex I tend to use the actual cd's.

If you have the loop block device built into your kernel, you should be able
to do something akin to:

        mount -o ro,loop -t iso9660 myfile.iso /mnt/cdrom

If you don't have the loop device built, you'll need to rebuild your kernel
:) IIRC it's better to build the loop as a module as then up to 10 loop
devices can be supported (though my info/memory could be wrong and/or out of
date as far as this is concerned :-) ).

Chris...

-- 
\ Chris Johnson                 \
 \ cej [at] nightwolf.org.uk          \
  \ http://cej.nightwolf.org.uk/  ~-----------------------------------+
   \ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____



___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.