LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CD Image Emulation? (https://www.linuxquestions.org/questions/linux-software-2/cd-image-emulation-77248/)

Devboy 07-30-2003 06:13 AM

CD Image Emulation?
 
i was wondering if theres a program for linux thats like Deamon Tools? if so where can i get it :)

acid_kewpie 07-30-2003 06:36 AM

how about you explain what you actually want to do rather than name dropping a windows program we may well never had heard of....

Devboy 07-30-2003 07:22 AM

well i want a program to mount iso's bins "basicly CDimages" and be able to play them of the harddrive instead of burning them to play.

kronchev 07-30-2003 08:46 AM

daemon tools = program that lets you run ISO, BIN, and a few other types of CD images directly from the harddrive. it emulates a SCSI CD drive, shows up in explorer even. i've run speed tests on the fake drive before (gotten around 500x :D).

Devboy 07-30-2003 09:33 AM

i know what daemon tools i used it, i was just wondering if there is something like it for Linux.daemon tools

acid_kewpie 07-30-2003 09:40 AM

well this is linux, and there isn't an equivalent... as it's a doddle under linux and not worthy of an application! ;-)

mount -o loop /home/user/cdrom.iso /mnt/point

some things are inherently straightforward in linux, so don't need frills...

Devboy 07-30-2003 03:39 PM

okay i know that command but what about the .bin isos?

Half_Elf 07-30-2003 03:42 PM

.bin iso is an owned format of ISO that are modified (it's stupid to do it, indeed). You'll need to convert them into real iso I believe.

aaa 07-30-2003 03:42 PM

Not sure what .bin is, but for other kinds of images (like clonecd) you can get a utility to convert them to iso.

DrOzz 07-30-2003 03:46 PM

well you could use bchunk to convert the bin --> iso and then mount it if you like....i am not sure about mounting the bin directly.

Devboy 07-30-2003 05:11 PM

okay, i prefer iso's anyways.

rkwellstead 09-08-2003 09:13 AM

Daemon Tools equivalent for bin/cue
 
I've read several of these threads whilst trying to find out how to mount bin/cue files in linux - like daemon tools does. Why do so many people think bin files are so many different things!?? I've seen numerous times people just saying "use 'mount -t iso9660 some.bin /some/dir'" - this is crap! (in most circumstances...)

So i'd like to set the record straight:

bin/cue files are paired.

- The bin file is a raw image of a cd. A cd is composed of sectors (approx. 333,000 on a 74min cd) of 2352 bytes each. Different types of cd use different amounts of space in the sectors for actual data. A normal PC cd will use 2048 bytes per sector - the rest of each sector is given over to error correction. PSX/VCD cds use 2336 bytes, Audio cds use the full 2352 bytes with no error correction. Since bin files are raw data images, they are larger than iso files. The bin image can contain of any type of cd.

- The cue file is necessary, it specifies the mode that a cd image is written in (see elsewhere for description of mode) and the number of bytes that have been read into the image per sector (normally 2352). Also index is specified. A typical cue file looks like:

FILE "image-name.BIN" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00

Now for some useful info! The linux mount command will not mount a bin file. If you can mount a particular bin file then its an .iso file with a .bin extension. In my searches, I came across several handy utilities:

isodump - get it here: http://www-tet.ee.tu-berlin.de/solyg...0.05.02.tar.gz
isodump will dump iso images from bin (CloneCD img) files. Its not perfect, and failed on one or two i tested.

cdfs - get it here: http://www.elis.rug.ac.be/~ronsse/cd...4.20-a.tar.bz2
cdfs is a file system kernel module. You can use it instead of iso9660 when you mount cds. It will display all the tracks on a cd as files, i.e. A data cd may show a single .iso file, an audio cd will show some .wav files (yes, it adds the WAV header!!), and a mixed cd may show an .iso file and an apple hfs image, and some .wav files...! This thing rocks!!

And now for what you've all been waiting for - cdemu. This is another kernel module, but this one creates virtual cd drives, just like daemon tools. A userspace program allows you to link a bin/cue file pair to a virtual cd device, and then simply use the linux mount command to mount the virtual cd!! Oh yeah, its here: http://robert.private.outertech.com/virtualcd/

So, now you CAN mount .bin files!!!!

------------------------------
Richard Wellstead

http://www.uselinux.co.uk/
------------------------------


All times are GMT -5. The time now is 09:39 AM.