Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: shuiend on 6 November 2002, 02:31

Title: unmounting problem
Post by: shuiend on 6 November 2002, 02:31
i have a cd in my cd-drive which is mounted as /mnt/cdrom1. i now want to unmount the cd but it wont let me. It gives me the following error "umount: /mnt/cdrom1: device is busy". I do not know of anything tyhat is useing the cd right now but i dont know how to check either. i have tried unmounting from the command prompt and from the GUI with no succes. i have also logged on as root and tryed and gotten the same error. i would like not to have to restart just to fix this problem but i might just have to.

[ November 05, 2002: Message edited by: wild_jester / BOB ]

Title: unmounting problem
Post by: distortion on 6 November 2002, 02:42
probably a dumb question, but were you in the /mnt/cdrom1 directory when you were trying to unmount it? if so, thats your problem...
Title: unmounting problem
Post by: shuiend on 6 November 2002, 04:29
i was not in the /mnt/cdrom1 directory when i tried to unmount it.i eventually restarted the comp b/c of that and some over reasons
Title: unmounting problem
Post by: flap on 6 November 2002, 06:17
To find out what processes are using a file use fuser. To query a specific mounted file system use the -m option e.g.

fuser -m /mnt/cdrom1
Title: unmounting problem
Post by: mobrien_12 on 6 November 2002, 12:07
Do you have the automounter running and configured to automount the CDROM drive?  If so, you have to leave it alone for a little while before the automounter will release it.

Automounter ... bleah  (http://tongue.gif)
Title: unmounting problem
Post by: Calum on 6 November 2002, 13:22
well isn't there some automounter that works? when i installed mandrake it helpfully installed supermount, automount and amd for me, but both the CD and floppy drives unmount themselves after maybe a minute or two. you then cannot get any of the files to work until you eject and reinsert the disk.
this happens now with mandrake 9.0 even though it didn't with mandrake 8.2, i wonder if anybody has any experience in dealing with these automounters who can explain how to tinker it to correctness.
This is most irritating when you load up a bunch of mp3s off a cd into xmms, and once the first one has played, it can't see any of the others. it can still see the first track fine though, and will play that off the CD again no problem (actually no i see that might not be a mounting problem after all, but it happens no matter what desktop environment i am using i think...)
Title: unmounting problem
Post by: flap on 6 November 2002, 17:17
My suggestion is just to turn any automounter off. At least you *know* then when things are mounted/unmounted. Auto mounting/unmounting is one of the reasons windows is shit.