I've seen similar posts on this board about ejecting CDROMs but I've tried the solutions people suggested but still cannot eject the CD. It's stuck in a production box so I can't reboot it...
Well, you are already half way there. Look at the output of the fuser command. It tells you that there are 2 login instances of root somewhere in the /cdrom directory. The numbers 10163 and 514 should correspond to the process IDs of those root instances' login shells; I'm even venturing to say one of those is your current login.
So, change to another directory, run fuser again, and kill the process(es) that remain. That will free up /cdrom, and you will be able to eject the disk
# cd
# fuser /cdrom
514c
# kill -9 514 # or whatever process number(s) show
# eject cd
.. i take it that's in response to what I posted.. what am I supposed to be? Impressed? "Educated" by a random link? I don't see anything in that link that even resembles technical writing, just a "this may happen because I think it may happen" statement.
i realy don't care if you are impressed or not... this is the article from the "useless use of ..." series which i posted without any comment cause it doesn't impress or confess me... it's just what i think the comment earlier was about.
As pointed out by the document referenced by the link, sigkill cannot be caught. Hence, a process cannot exit nicely. This is not a good thing on a mission critical system.
And even in non mission critical ones. Abruptly killing a process without even trying to understand what this process is and why it uses some directory is ... overkill.