[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: kdeeject -- is this a BUG??
From: James Richard Tyrer <tyrerj () acm ! org>
Date: 2003-12-25 2:56:14
[Download RAW message or body]
Janne Karhunen wrote:
> Hi,
>
> Many of my non-techie friends using linux have had tons of problems
> just ejecting CD:s under linux. Reasons for this vary, but just to
> rule out most obvious of them ( leftover processes accessing the
> device ) i've added stuff in kdeeject to probe for this. Have a
> look at the attachment and decide whether this could be used on a
> wider scale.
Well, it refused to give me my CD again even with my correct configuration (see other
posting).
I had to KILL konqueror to unmount and get my disk.
I suspect that this is a bug.
To reproduce:
Open Konqueror and then click on the CD-ROM icon (I don't use an auto mounter) on the
desktop. This will open a Konqueror KFM window.
Now close the Konqueror KFM window.
Now, try to get your disk back.
You can't unmount and 'fuser' says that Konqueror is still using the directory where you
mounted the CD-ROM.
[root@localhost root]# fuser -v /mnt/cdrom/
USER PID ACCESS COMMAND
/mnt/cdrom/ jrt 1495 f.... kdeinit
root kernel mount /mnt/cdrom
So, the proposed solution will not work because it is Konqueror that is supposedly using
the CD-ROM.
[root@localhost root]# ps 1495
PID TTY STAT TIME COMMAND
1495 ? S 0:03 kdeinit: konqueror -mimetype inode/directory file:/mnt/cdrom
If I use 'fuser' to fix this:
fuser -k /mnt/cdrom
then I can unmount the CD-ROM. HOWEVER, all (user) instances of Konqueror are killed
since it is all one process.
This appears to be a bug.
--
JRT
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic