I am writing a script to backup a client's server and write the pertinent data to a cd/dvd recorder. On the way, I need to test the state of the device. I have looked at Linux::CDROM, Linux::Mounts, Filesys::Type, Sys:Filesystem, and lastly, Device::Cdio. None of seem to fit the bill and worse yet, Device::Cdio will not 'Build'. (But that's another question.)
Objective: