Followup to: <[EMAIL PROTECTED]>
By author: Kernel Related Emails <[EMAIL PROTECTED]>
In newsgroup: linux.dev.kernel
>
> I was just wondering if anyone had any suggestions to check to see if a
> DVD is in a users DVD drive. Currently if you run a CDROM_DISC_STATUS on
> a DVD you get a CDS_DATA_1 returned. What kernel level call would
> destinguish between an actual Data CD and a DVD?
>
Why does it matter? Seriously, do you have any reason to act
differently between a CD and a small DVD, either of which contains a
UDF filesystem? If not, don't.
Size, type of filesystem, etc, are obviously important -- but
shouldn't be determined by the type of the physical media. It's
perfectly legitimate to have a large ISO 9660 filesystem on a DVD, or
an UDF filesystem on a CD.
-hpa
--
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/