unmounting cdrecorder

I want to unmount DVD from my LG DBA RW. The operating system is Oracle Unbreakable Linux based on Fedora Ver4.

I right click on the DVD icon on the desktop and select eject. DVD doesn't eject.

I use the umount command.

[root@pc cdrecorder]# umount /media/cdrecorder
umount: /media/cdrecorder: device is busy
umount: /media/cdrecorder: device is busy
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

http:// thevpn.guruCommented:
Try it with -f
umount -f /media/cdrecorder
http:// thevpn.guruCommented:
You could also try

Close any file managers and of course any other windows that show the Cd or whatever.
Wait half a minute or so
And if umount doesn't work for the normal user, do 'umount -l' as root user (that's a lower-case "L" for "lazy"). Almost always works....

to find out what is using your CDROM

lsof |grep /dev/cdrom

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It could be that you are in that directory while trying to unmount it.

cd /


umount /media/cdrecorder
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

gram77Author Commented:
I forgot to exit from the /media/cdrecorder directory when I was issuing the umount -t auto /media/cdrecorder command.

How is umount -l command able to unmount even if you are in /media/cdrecorder directory
http:// thevpn.guruCommented:
unmount -l releases all files that are using the cdrom drive..
From the man page:

    Lazy unmount. Detach the filesystem from the filesystem hierarchy now, and cleanup all references to the filesystem as soon as it is not busy anymore. (Requires kernel 2.4.11 or later.)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.