mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Stevenson <james@stev.org>
To: Adam Hunt <adam.r.hunt@gmx.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: is there a disc in the drive?
Date: 24 Dec 2002 01:55:25 +0000	[thread overview]
Message-ID: <1040694925.1459.0.camel@god.stev.org> (raw)
In-Reply-To: <21811.1040677323@www3.gmx.net>

Hi

open the cd drive in non blocking mode then
do some ioctls to get the info you require.

or cdrecord i think has an option to dump the info.

On Mon, 2002-12-23 at 21:02, Adam Hunt wrote:
> Is there a simple way of determining if there is a disc in a CD/DVD drive?  
> Something in /proc would be nice.  Is there any other sort of information 
> availble such as what type of disc is in the drive? 
>  



      reply	other threads:[~2002-12-24  1:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-23 21:02 Adam Hunt
2002-12-24  1:55 ` James Stevenson [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=1040694925.1459.0.camel@god.stev.org \
    --to=james@stev.org \
    --cc=adam.r.hunt@gmx.net \
    --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

all inboxes | Powered by JetHome®