[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kdeeject - unmouting media patch



Am Mittwoch, 11. Juni 2003 20:10 schrieb Christian Hubinger:
> Hi!
>
> sorry for the cross-posting but i think this should go to both
> lists.

Fine, have a look at what I wrote below and forward it to the other 
list.

>
> On Wednesday 11 June 2003 11:42, Volker Krause wrote:
> > On Tuesday 10 June 2003 13:27, Christian Hubinger wrote:
> > > not really :-(
> > > here on my woody ejectt unmounts the device when i type eject
> > > /cdrom BUT if i'm using the device name eject /dev/cdrom (which
> > > is a symbolic link) eject does not umount and throws an error.
> > > i don't know if thats special to the debian version of eject
> > > but here it definately does not work with the real device names
> > > (as used in /etc/fstab)
> > >
> > > animal@shit:~$ mount /dev/cdrom
> > > animal@shit:~$ eject /dev/cdrom <- does not work
> > > eject: unable to eject, last error: Invalid argument
> > >                                                 
> > > ^^^^^^^^^^^^^^^ animal@shit:~$ umount /dev/cdrom
> > > animal@shit:~$ eject /dev/cdrom <- works
> > >
> > > animal@shit:~$ mount /dev/cdrom
> > > animal@shit:~$ eject /cdrom <- works
> > >
> > > so this seems to be a bug in eject. But i think for a quick
> > > workaround of that situation the patch i sent should be ok.
> > >
> > > Please let me know if this behaviour is special to the debian
> > > version of eject, so that i can fill a bugreport about it.
> >
> > seems to work here with eject from SuSE 8.2:
> > vkpc3:/home/vkrause # eject -V
> > eject version 2.0.13 by Jeff Tranter (tranter@pobox.com)
>
> can anyone else reproduce this strange eject behaviour with woody?
> If yes i will send a bugreport.


I did investigate this problem lately. man eject told me:

... Eject may not always be able to determine if the device is mounted 
(e.g. if it has several names). If the device name is a symbolic 
link, eject will follow the link and use the device that it points 
to. ...

So, it's not a bug, it's a feature :-> If you put the "real" device 
file (not a symlink) in /etc/fstab, eject works fine with mounted 
devices!

Actually, this should be discussed in the debian-user* or some other 
lists rather than debian-kde. On this list, you should discuss why 
kdeeject does not work (which uses eject to do its job) :-)

>
> greetings,
> chris
>

Tobias

-- 
/"\ ASCII Ribbon Campaign - against HTML mail
\ / No proprietary formats in attachments without request
 X  i.e. *NO* WORD, POWERPOINT or EXCEL documents
/ \ Respect Open Standards
    http://www.fsf.org/philosophy/no-word-attachments.html
    http://www.goldmark.org/netrants/no-word/attach.html

Registered Linux User #293344



Reply to: