Umount Command Not Working

RegisterLogin
Umount Command Not Working
Post Description: i am trying to unmount my cd-rom drive but for some reason i cant. i was moving some files and i am finished doing that but when i send the umount command its giving me an error. what can i do.
Tags: umount, command, not, working
This Post Was Posted On May 06, 2010 By Seler #3456
i am trying to unmount my CD-ROM drive but for some reason i cant. i was moving some files and i am finished doing that but when i send the umount command its giving me an error. what can i do.. this is driving me crazy
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
webune
#3942 1
usually this means you have a file in the CD-ROM directory (/mnt/CDROM ) which you have opened. make sure if you are using a computer with X that you close all windows or if you are using the command line, you dont have any files opened in the bacground (using the & command)

so to find out which files are preventing you from unmounting your filesystem (CDROM) send the lsof ( lsof - list open files)

you are most like are going to get a big list so to narrow down you list, use the grep utility to show only the files in the CDROM, you can use this command for example

lsof | grep mnt

hope that helps
May 06, 2010 Reply Report abuse
©2011 Webune Forums - Sun Dec 18, 2011 10:47 pm
Powered by: Webune Forums V3