Programmatically test for a DVD drive
Joe Marcus Clarke
marcus at FreeBSD.org
Tue Dec 16 17:34:28 PST 2003
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.
Joe
--
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20031216/91e5ee04/attachment.bin
More information about the freebsd-hackers
mailing list