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

Re: cdrom does not un-mounts



On Fri, 2004-05-28 at 18:23, Wolfgang Pfeiffer wrote:

> 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.

I often find it is because I am sitting in the /cdrom (or a
subdirectory) myself.

> 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.
If you are running Gnome you could try something like
	gksu "/etc/init.d/fam stop"
umount the cd followed by
	gksu "/etc/init.d/fam start"

Regards,
Iain.



Reply to: