New eject command issue

Christian Costa titan.costa at wanadoo.fr
Tue Nov 1 14:53:59 CST 2005


Hi,

I tried to use the new eject command and this does not seem to work.

For that, I run a exe on the cdrom and try to eject the cdrom with :

WINEDEBUG=+eject wine eject

and I get :

trace:eject:eject_cd ejecting h:
warn:eject:eject_cd IOCTL_STORAGE_MEDIA_REMOVAL failed with err 170
warn:eject:eject_cd IOCTL_STORAGE_EJECT_MEDIA failed with err 170

and nothing happen and files are still open on the cdrom as shown below :

bash       1243   titan  cwd    DIR        0,8         0    219136 
/mnt/cdrom
wine-prel 14747   titan  cwd    DIR        0,8         0    219136 
/mnt/cdrom
wine-prel 14747   titan  mem    REG        0,8   2691072    219306 
/mnt/cdrom/DINO.exe
wine-prel 14747   titan    6r   DIR        0,8         0    219136 
/mnt/cdrom
wineserve 14751   titan   22r   DIR        0,8         0    219136 
/mnt/cdrom
wineserve 14751   titan   23r   REG        0,8   2691072    219306 
/mnt/cdrom/DINO.exe
wine-prel 14752   titan  cwd    DIR        0,8         0    219136 
/mnt/cdrom
wine-prel 14752   titan  mem    REG        0,8   2691072    219306 
/mnt/cdrom/DINO.exe
wine-prel 14752   titan    6r   DIR        0,8         0    219136 
/mnt/cdrom
wine-prel 14753   titan  cwd    DIR        0,8         0    219136 
/mnt/cdrom
wine-prel 14753   titan  mem    REG        0,8   2691072    219306 
/mnt/cdrom/DINO.exe
wine-prel 14753   titan    6r   DIR        0,8         0    219136 
/mnt/cdrom

Is there anything particular to do ?

Morover,  it seems eject is not installed so I have to run from the 
programs directory.
I have also found that there is already a eject command in my distro 
(Mandrake).
So this conflict may require renaming the eject command.

Any idea ?

Bye,
Christian






More information about the wine-devel mailing list