On Tue, Dec 16, 2003 at 08:33:41PM -0500, Joe Marcus Clarke wrote: > I'm trying to figure out the best way to programmatically test to see if > a disc device is a DVD device. That is, how can I tell the difference > between a CD-[ROM|R|RW] and a DVD-[ROM|R|RW]? Is there a set method for > doing this, or should I just try to execute a DVD ioctl, and test to see > if it succeeds? Thanks.
When I've poked, the tracks in a TOC of a DVD is _huge_ compared to a CD-ROM. But, I, too, am looking for a better way... > Joe > -- > Joe Marcus Clarke > FreeBSD GNOME Team :: [EMAIL PROTECTED] > FreeNode / #freebsd-gnome > http://www.FreeBSD.org/gnome -- Brian 'you Bastard' Reichert <[EMAIL PROTECTED]> 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA BSD admin/developer at large _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

