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

Re: cdrom does not un-mounts



On Sat, 2004-05-22 at 06:52, J.S.Sahambi wrote:
> I am using Debian/sid.

Same here, on ppc ... :)

>  Some times when I mount a cdrom and try to 
> unmount it immediately, it gives the following error on the terminal:
> 
> umount: /cdrom: device is busy
> umount: /cdrom: device is busy

        [ ... ]

IIRC:
lsof /dev/cdrom
or
fuser /dev/cdrom

and then doing a 
kill -s 9 <PID of process accessing /dev/cdrom>
as root helps here.
Not being sure whether that's sane, safe, whatever. But it often helps
here.

man fuser
man lsof

IIRC: 
The commands above *might* mean you're getting logged out of X at times
... not being sure ... :)
Most of the time is FAMD, or something like that, that prevents
umounting the CDROM here.

Good luck

Best Regards
Wolfgang
-- 
Profile, links: http://profiles.yahoo.com/wolfgangpfeiffer

.... and 3 more reasons for Linux:
<http://uptime.netcraft.com/up/graph?site=http%3A%2F%2Fwww.whitehouse.gov%2Findex.html>
<http://uptime.netcraft.com/up/graph?site=http%3A%2F%2Fwww.fbi.gov%2F>
<http://uptime.netcraft.com/up/graph?site=http%3A%2F%2Fwww.defenselink.mil%2F>



Reply to: