From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: DVD Disk Detection
Date: 29 Jan 2001 17:10:31 -0800 [thread overview]
Message-ID: <9554a7$ncu$1@cesium.transmeta.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0101291759200.6259-100000@penguin.linuxhardware.org>
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/
prev parent reply other threads:[~2001-01-30 1:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-29 23:02 DVD Disk Detection Kernel Related Emails
2001-01-30 1:10 ` H. Peter Anvin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='9554a7$ncu$1@cesium.transmeta.com' \
--to=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox