D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] umounting CDROM



On Thursday 04 Dec 2003 7:13 pm, David Batho wrote:
> > > How can I find what's holding the mount open?

Empirically, I've found these culprits:
1. Konqueror - even after you change the directory or view a web page or even 
close the tab (if using tabbed). Konqueror only lets go of the CD when that 
window is closed.
2. Bash - multiple terminals and su can cause no end of confusion. Bad su 
practice can lead to:
$ user1
su
# user2
$ su user1
$ 
BUT: if root or user2 have the current working directory as something below 
/mnt/cdrom, then you have a problem.
Avoid nesting shells!

(This is not, of course, the fault of bash - it's user error!)

If in doubt, close all apps, start kwikdisk and see if that can unmount it.

-- 

Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
http://www.isbn.org.uk/
http://sourceforge.net/projects/isbnsearch/

http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3

Attachment: pgp00003.pgp
Description: signature


Lynx friendly