CD/DVD RW identification cdrecrord
Hello,
I am writing a script from burning to CD/DVD using cdrecrod, Is there any way i can figure out wether the CD/DVD is writable or not. |
I think cdrecord has a "scanbus" option which would provide details of the drive. You can capture the output, do some string processing and determine if the drive is writable or not. Run "man cdrecord" and search for "scanbus" for more details.
|
'-dummy'?
eg: 'cdrecord -v -dao -dummy *av' |
cdrecord -minfo dev=/dev/cdrom
|
Thanks to all for you comments
|
All times are GMT -5. The time now is 04:46 PM. |