public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* DVD Disk Detection
@ 2001-01-29 23:02 Kernel Related Emails
  2001-01-30  1:10 ` H. Peter Anvin
  0 siblings, 1 reply; 2+ messages in thread
From: Kernel Related Emails @ 2001-01-29 23:02 UTC (permalink / raw)
  To: linux-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?

Thanks,
Kris Kersey
kernel@linuxhardware.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DVD Disk Detection
  2001-01-29 23:02 DVD Disk Detection Kernel Related Emails
@ 2001-01-30  1:10 ` H. Peter Anvin
  0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2001-01-30  1:10 UTC (permalink / raw)
  To: linux-kernel

Followup to:  <Pine.LNX.4.21.0101291759200.6259-100000@penguin.linuxhardware.org>
By author:    Kernel Related Emails <kernel@penguin.linuxhardware.org>
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
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-30  1:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-29 23:02 DVD Disk Detection Kernel Related Emails
2001-01-30  1:10 ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox