[Wine] Re: Make WINE detect an image as a CD drive with an audio disc

SpawnHappyJake wineforum-user at winehq.org
Tue Jul 26 13:10:47 CDT 2011


Yep. Y'all correct. I go into more detail here: http://forum.winehq.org/viewtopic.php?p=63474&highlight=#63474, which itself has a link to further detail.
Though, Boltronics, I seriously wonder how you managed to compile CDemu from source. Maybe you can pm me?
The reason why audio tracks don't work with the loopback device is because the loopback mounter only mounts a single filesystem. Audio tracks have no filesystem. They contain no files, only almost raw audio data. When you insert an audio CD into Linux, Mac OS X, or Windows, each operating system has its own unique attempt to make it appear as though there are audio files on the CD, but they are all spoofs.
And you can only mount one filesystem by itself with this method per mount. Floppy images are just a single partition formatted to a filesystem without anything else - no mbr, no "track0", nothing else, so they can be mounted directly with the sudo mount command. Iso images work out the same way. With hard drive images, you can only mount one partition in that image with this method (per mount), and you must offset to where the partition begins. BTW, qemu-nbd is a great tool for mounting hard drive images as a block device when the mount command doesn't cut it.

Cheers,
Jake







More information about the wine-users mailing list