OK,

I know how to eject/open the CD drive on a linux box from within Ruby:

system "eject"

How do I detect that the user has inserted the next cd so that my
program can continue cataloging cd contents?

I know it's more of a Linux programming question, but maybe there is
some rubylicious way to do this? Or just the good old fashioned best
practice way will do.

Is there a good tutorial on detecting system and media changes?
-- 
Posted via http://www.ruby-forum.com/.