[ale] Detetcting a DVD in the drive?

Robert L. Harris robert.l.harris at gmail.com
Mon Aug 24 18:28:44 EDT 2009


   I am trying to write a script for a friend to automatically dump an 
ISO to a
DVD, but I am looking for a way to detect a DVD in the drive.  Anyone have
a way to do this?   "mt -f /dev/cdrom status" fails, unsurprisingly....

Robert

-- 

:wq!
====================================================================
Robert L. Harris                     | GPG Key ID: E344DA3B
                                          @ x-hkp://pgp.mit.edu
DISCLAIMER:
       These are MY OPINIONS             With Dreams To Be A King,
        ALONE.  I speak for              First One Should Be A Man
        no-one else.                       - Manowar




More information about the Ale mailing list