CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Mac
Discussion about CrossOver Mac

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Multidisk Install - can't eject disc

... nevermind... I got it I think...

To answer the old question why this is still an issue:

The problem is that disk handling is one of the bigger differences between Unix and Windows. On Windows, you can take the disk out any time, and the application has to deal with the errors it gets back when the disk is removed. on Unix systems, the disk is "mounted". When that happens, the drive is locked, so you can't take the disk out until you unmount it(). Next, unmounting does not work if the application still has files openened. Thus, on Unix the application has to take care to close all files before* the disk is changed.

This leads to a problem with crossover. When you press the eject disk button, we close all Unix file handles the app may have opened, and set the corresponding Windows file handles into an invalid state. This allows to unmount the disk, and the app gets errors if it tries to access the files like on Windows. The trouble now is that there are so many different ways to keep a file opened, and if we forgot about one the game uses, the eject doesn't work.

So this bug has been dealt with. Multiple times in fact. However, there are multiple different bugs with the same symptoms.

(*) On MacOS and new Linux distros, the system catches the press on the eject button, and asks apps if they can close their files. If they all do, the disk is unmounted automatically and ejected, otherwise at least Linux shows an error message telling that "App ABC has file XYZ open". In the future we may be able to react to this eject notification and remove the eject button. However, it doesn't fix the core windows/unix difference.

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzA4NjEzODE4LCJjc3JmX3Rva2VuIjoiQ0FnR3NTY1lMSE5yc250UCIsImdkcHIiOjB9