Le 12.05.2007, à 15:01:08, Julien BLACHE a écrit:
> Ludovic Rousseau <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> > The eject command form the eject package and the eject action from the
> > Gnome contextual menu both works.
> >
> > I don't know if the best solution is to call eject(1) or include its
> > source code inside pommed.
> 
> Fixed in the current SVN trunk, if you'd like to give it a try :)

It does not work if the DVD name has spaces in it?

I have a DVD monted on: "/media/Données perso, 30 avr 2007"
/dev/hda on /media/Données perso, 30 avr 2007 type iso9660 
(ro,noexec,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8)

and pommed fails to eject it with the error:
KEY: CD eject
/dev/dvd (/dev/hda) mounted on /media/Données\040perso,\04030\040avr\0402007; 
attempting to unmount
umount: /media/Données\040perso,\04030\040avr\0402007: not found
I: umount failed
E: Could not unmount device

Maybe you have to convert the \040 to ' '


Also GNOME does not close the main CD window as it is the case if I
select eject from the GNOME contextual menu or even with the eject(1)
command. I think you can reuse some code from eject to do that.

Bye

-- 
 Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --

Reply via email to