how to know if there is a cd inside the cdwriter

Lowell Gilbert freebsd-questions-local at
Sat May 17 19:22:27 PDT 2003

David Rio <drio at> writes:

> I am writing a little script to backup my data. I would like 
> to know if there is a CD inside the cdwriter before launch the
> burn process. Any idea?

Parse it out of the output of something like "cdcontrol info"?

More information about the freebsd-questions mailing list