You can now mount bin/cue files! Daemon tools equivalent! 

http://www.linuxquestions.org/questions/archive/2/2004/01/2/90498

I've read several threads about bin/cue files whilst trying to find out how to mount bin/cue files in linux - like daemon tools does in Windows. I found out how…

But first - 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.

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: [url]/url

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: [url]/url

cdfs is a file system kernel module. You can use it instead of iso9660 when you mount cds. It will show all the tracks on a cd as files in the mounted directory, 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: [url]/url

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

Richard Wellstead [url]/url

You can now mount bin/cue files! Daemon tools equivalent! 

also bin2iso can attempt to recreate cue files for single track data cds.

nulltype

You can now mount bin/cue files! Daemon tools equivalent! 

Just a tip.. If you have a SVCD thats in bin/cue format just use MPlayer to watch it.. no need to burn or mount…

mplayer movie.bin

whamma.. your in

kipp

You can now mount bin/cue files! Daemon tools equivalent! 

For the record, I came across the following problems with cdemu: use the latest version, cdemu-0.5.3. If you're using Slackware 9.0, create a new directory for the cdemu.o module: [b]mkdir /lib/modules/2.4.20/misc[/b].

After you untar, make && make install it, run the [b]create_cdemu_devs.sh[/b] script included with the source. insmod the cdemu.o module (and edit your distro's init.d/rc.d modules file to insmod it on boot). Use cdemu as follows: [b]cdemu 0 foo.cue[/b]; this assigns the file foo.cue to device /dev/cdemu/0. You can use up to 8 devices (ie. /dev/cdemu/0-7).

Next, untar, compile, make && make install the cdfs module and insmod it (edit your init.d/rc.d modules file). Now you can mount the cdemu image as follows: [b]mount -t cdfs -o loop /dev/cdemu/0 /mnt/cdfs[/b], where /mnt/cdfs is your mount point.

You can also use cdfs to mount an actual mode2 SVCD as follows: mount -t cdfs /dev/cdrom /mnt/cdfs.

In using cdemu and cdfs, however, I found that although I could navigate the *.bin filesystem, I was unsuccessful in extracting the mpeg2 file. I found that bchunk and bin2iso were also unsuccessful in extracting the mpeg2 file.

I then tried [b]vcdgear[/b] for linux, and it extracted the mpeg2 file perfectly: [url]/url

D'oh; I spent all that time on cdemu and cdfs; oh well, hope this helps someone.

spurious