it would be even better if you changed it from shelling out to just reading /proc/sys/dev/cdrom/info in Ruby