Umount:/mnt/CDROM: device is busyevery wonder why sometimes you get this message
When you try to un-mount a NFS drive or CDROM Drive
Coderoot @ Homer:~ # Umount/mnt/CDROM
Umount:/mnt/CDROM: device is busy
Umount:/mnt/CDROM: device is busy
Root @ Homer:~ #
Well chances a process is running that is using that directory. To find out run
Coderoot @ Homer:~ # Fuser-M/mnt/CDROM/
/Mnt/CDROM/: 24066c
That shows you what process is using that directory. Now lets do a PS aux and see
Whats running
Coderoot @ Homer:~ # Ps aux | grep 24066
Root 24066 0.0 0.5 2244 1284 pts/10 s-su
Root @ Homer:~ #
Looks like a root user is in that directory. If you cannot find the term that is
In that directory then kill that process
Coderoot @ Homer:~ # Kill-9 24066
Root @ Homer:~ #
Now you can un-mount
Coderoot @ Homer:~ # Umount/mnt/CDROM/
Root @ Homer:~ #
This tip brought to you by the letter J and the letter y