[ale] Detetcting a DVD in the drive?
scott mcbrien
smcbrien at gmail.com
Mon Aug 24 18:39:02 EDT 2009
IIRC cdrecord has an option to do a "test run", part of the run would
include verifying that there is media. Maybe you do a test run, and upon
successful completion, kick off the real thing?
-Scott
On Mon, Aug 24, 2009 at 6:28 PM, Robert L. Harris <robert.l.harris at gmail.com
> wrote:
>
> 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
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20090824/b4a66625/attachment.html
More information about the Ale
mailing list