[aclug-L] Re: cdrom problem
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, 17 Jan 2004, bbales wrote:
> Maybe someone else has had this problem and can help.
>
> Using RH 9.0 and KDE. When I stick a disk in the cdrom, Konqueror comes up
> and mounts and opens the disk. When I am through with the disk I quit what
> I'm doing and quit Conqueror and try to umount the cdrom. I get "device is
> busy." It stays that way no matter what I try. Only way to get the disk out
> is to shut down and reboot. Just shutting down all programs and kde doesn't
> do it.
>
> I would prefer that konqueror stay dormant until I want it, but I know how to
> shut kongqueror down so it's not a big problem. What I need is an easy way
> to "unbusy" the cdrom.
> bruce
It's not an elegant solution, but you could use the `lsof` utility to find
out what process still has the cdrom open. i.e. `lsof | grep /mnt/cdrom`
(in the case where the cd gets mounted to /mnt/cdrom, kde probably uses
the automounter or some such). You could then kill that process or take
other appropriate action.
lsof can take a while to finish executing so don't be allarmed if grep
doesn't output anything right away.
--
Noah Romer |"Everyone is more or less mad on one point."
klevin@xxxxxxxxxx | - Rudyard Kipling
PGP key available |
by finger or email |
-- This is the discussion@xxxxxxxxx list. To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
- [aclug-L] WLAN on Linux -- SUCCESS with 802.11G, Jeff Vian, 2004/01/15
- [aclug-L] cdrom problem, bbales, 2004/01/17
- [aclug-L] Re: cdrom problem,
Noah Romer <=
- [aclug-L] Re: cdrom problem, bbales, 2004/01/17
- [aclug-L] Re: cdrom problem, John Goerzen, 2004/01/17
- [aclug-L] Re: cdrom problem, Nate Bargmann, 2004/01/17
- [aclug-L] Re: cdrom problem, bbales, 2004/01/18
- [aclug-L] Re: cdrom problem, lowell, 2004/01/18
- [aclug-L] Re: cdrom problem, John Goerzen, 2004/01/18
- [aclug-L] Re: cdrom problem, Tom Hull, 2004/01/18
- [aclug-L] Re: cdrom problem, John Goerzen, 2004/01/18
- [aclug-L] Re: cdrom problem, Jeff Vian, 2004/01/18
- [aclug-L] Re: cdrom problem, Jeff Vian, 2004/01/18
|
|