I'm trying to use cdrecord to burn .iso files I create on OpenSolaris. Some need to go on DVD's even when they're not bigger than a CD. Others need to go on CD's no matter what.
I've been tasked with writing a front-end script for users to use to burn the ISO's, and I'd like to have the script verify that the type of media in the drive matches the requested type before I burn it. Since it's a multi-user machine with 4 recorders, we keep the drives loaded with blank media, but sometimes one drive is left with the wrong blank media, and a CD ISO is burned to DVD (or the other way around) by mistake. I've read through the cdrecord (and a couple other cdrtools) man pages, and I didn't find anything that was obviously what I wanted there. I did see the -inq option to cdrecord, and I tried it, but it only gives info about the drive itself, and not the media currently loaded in it. I also noticed that cdrecord will complain if the .ISO is too big for the media, but the most common corner case I really need to catch the case where it's too small for a DVD an should go on a CD instead. Any ideas? -Kyle _______________________________________________ opensolaris-discuss mailing list [email protected]
