public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: James Stevenson <mistral@stev.org>
To: mike@flyn.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: EJECT ioctl fails on empty SCSI CD-ROM
Date: Wed, 15 Nov 2000 20:08:55 GMT	[thread overview]
Message-ID: <200011152008.UAA20801@linux.home> (raw)
In-Reply-To: <20001115185958.A5072@dragon.flyn.org>
In-Reply-To: <20001115185958.A5072@dragon.flyn.org>


Hi

this is what i get on 2.2.17

open("/dev/scd1", O_RDONLY|O_NONBLOCK)  = 3
ioctl(3, CDROMEJECT, 0xbffffc78)        = 0
close(3)                                = 0



In local.linux-kernel-list, you wrote:
>Apparently using the CDROMEJECT ioctl with kernel 2.4-testX fails on
>a SCSI CD-ROM that does not have a disc in it.  The errno returned
>corresponds to the string ``No such file or directory.''
>
>The Linux CD-ROM Standard states that CDROMEJECT opens the drive tray.
>It does not mention any prerequisite such as media being present.
>
>Is this the expected behavior?  If so, I am curious to hear the rationale
>behind it.


-- 
---------------------------------------------
Check Out: http://stev.org
E-Mail: mistral@stev.org
  8:00pm  up 32 days,  7:56,  5 users,  load average: 0.17, 0.53, 0.29
-
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/

  reply	other threads:[~2000-11-15 20:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-15 17:59 EJECT ioctl fails on empty SCSI CD-ROM W. Michael Petullo
2000-11-15 20:08 ` James Stevenson [this message]
2000-11-15 20:15   ` Richard B. Johnson
2000-11-15 22:32     ` Richard B. Johnson

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=200011152008.UAA20801@linux.home \
    --to=mistral@stev.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mike@flyn.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