Subject: Re: CHanges to sd and cd drivers
To: Manuel Bouyer <firstname.lastname@example.org>
From: Soren S. Jorvang <email@example.com>
Date: 01/21/1999 21:00:19
On Thu, Jan 21, 1999 at 11:53:29AM +0100, Manuel Bouyer wrote:
> On Jan 20, Soren S. Jorvang wrote
> > I like this (or anything similar that allows operation on devices without
> > loaded media).
> > This reminds me of a related issue.
> > The current code return EIO for both 'no media' and 'media error's.
> > I noticed because I have '<SyQuest, EZ135S, 1_13> SCSI2 0/direct removable' that
> > makes the i386 findroot() print 'findroot: can't open dev sd0a (5)' during
> > autoconfiguration.
> > Should 'no media' and 'media error' perhaps return different errors?
> The harder part is to find which error to return :)
> Mayby ENOENT ?
> I'm open to any other suggestion.
ENODEV would work for me - reading it as 'Operation not (currently) supported