Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2003 20:33:41 -0500
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        hackers@FreeBSD.org
Subject:   Programmatically test for a DVD drive
Message-ID:  <1071624821.78714.9.camel@shumai.marcuscom.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/37J1b2iPiv4Uz4cRAntcAKCtfmcoV1JFazXIDTleKKlGkf/nQgCdEg7w
XL6C73ECEcSUKpPnlUfeFCg=
=1Lk2
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1071624821.78714.9.camel>