How to find out the type of CD in burner from script ?
Shantanoo Mahajan
freebsd at dhumketu.cjb.net
Thu Oct 9 10:35:07 PDT 2003
+-- aleksandr.derevianko at ru.transport.bombardier.com [freebsd] [09-10-03 19:05 IST]:
| Hello !
|
| I have the following problem: I'm writing backup scripts, to store SCM tree on
| CD via ATAPI CD-burner.
| I need to have ability from inside the script find out the type of CD in burner:
| Is it CD-R or CD-RW, and is it blank or not,
| and also obtain at least CD label without mounting CD.
|
| Search in mail archive does nothing, so if anybody know how to do this, please
| respond.
|
| P.S. I'm using FreeBSD 4.8 and PLEXTOR CD-R PX-W4824A.
|
| Best regards,
| Alexander.
If you are using cdrecord, you may be interested in
# cdrecord -scanbus
--
With Best Regards,
Shantanoo Mahajan
More information about the freebsd-questions
mailing list