How to unmount a "busy" CD?

How can I unmount a CD on OpenSuse so that I can eject it?

Problem: Windows Game installer doesn’t close all files when asking for next CD.

Forced unmount (umount -f) doesn’t work like as it does on BSD systems.
Any idea how to get the CD out without having to kill Wine and the program installer?

Thanks in advance!

Worked with umount -l.
Apparently luckily no forgotten file handle this time.

Btw, Linux seems to be unable to do forced umounts: http://forums.opensuse.org/english/get-technical-help-here/applications/465745-unmounting-removable-media-mounted-different-user.html#post2388359

Anyway, problem solved.

Doh. Problem not solved.
Now I cannot mount CDroms anymore.
****. I’d hate to reboot…

Am Thu, 29 Dec 2011 23:56:02 +0000 schrieb blitzdumm:

> How can I unmount a CD on OpenSuse so that I can eject it?
>
> Problem: Windows Game installer doesn’t close all files when asking for
> next CD.
>
> Forced unmount (umount -f) doesn’t work like as it does on BSD systems.
> Any idea how to get the CD out without having to kill Wine and the
> program installer?
>
> Thanks in advance!

I have to throw in my uneducated ideas. I noticed that with KDE i can
just open the CD/DVD tray and it comes out.
Gnome on the other hand requires to use a command to eject the medium.

The other thing is, perhaps there is an instant running and you have to
kill first the process before you can eject the medium.

Just a guess.

wine eject
FAQ - The Official Wine Wiki

On 12/30/2011 01:36 AM, blitzdumm wrote:
>
> Doh. Problem not solved.
> Now I cannot mount CDroms anymore.
> ****. I’d hate to reboot…

the requirement to reboot is an ages old tradition in the wonderful
world f Windows…the best way to avoid the old tradition is to cease
using WINE or Windows…

if you must run applications with WINE, then instead just boot Windows
and let it have the entire game machine…but, still you will have the
reboot problem…

or, you could (instead of running wine) run windows in a VM running in
Linux…but, still you will have to reboot Windows from time to
time…it is just the way it is.


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!

On Thu, 29 Dec 2011 23:56:02 GMT, blitzdumm
<blitzdumm@no-mx.forums.opensuse.org> wrote:

>
>How can I unmount a CD on OpenSuse so that I can eject it?
>
>Problem: Windows Game installer doesn’t close all files when asking for
>next CD.
>
>Forced unmount (umount -f) doesn’t work like as it does on BSD
>systems.
>Any idea how to get the CD out without having to kill Wine and the
>program installer?
>
>Thanks in advance!

If the actual problem is open files you might be able to find the
processes with "
lsof | grep wine
"

?-)