David Thurston wrote: > How do I detect that the user has inserted the next cd so that my > program can continue cataloging cd contents? You could do a loop with mount, system will return true if it succeeds (and false if it fails!). However, that is not a very nice idea unless you really, really want to completely minimize user interaction to nothing. I'd recommend something like: puts ("Insert DVD and hit enter.") gets system "mount /dev/cdrom" A little more sane. -- Posted via http://www.ruby-forum.com/.