Re: 1.3.6[0-7] floppy driver broken

Dan Merillat (Dan.Merillat@ao.net)
Wed, 28 Feb 1996 17:02:42 -0500 (EST)


On Sun, 25 Feb 1996, David C. Niemi wrote:

> Date: Sun, 25 Feb 1996 12:25:55 -0500 (EST)
> From: David C. Niemi <niemidc@clark.net>
> To: "Michael D. Black" <mblack@csihq.com>
> Cc: linux-kernel@vger.rutgers.edu
> Subject: Re: 1.3.6[0-7] floppy driver broken
>
> On Fri, 23 Feb 1996, Michael D. Black wrote:
> > At 06:04 PM 2/22/96 +0100, Michael Stiller wrote:
> > >i get the following errormessages on: 1.3.60 and 1.3.67
> > >toyland:~# dd if=/dev/zero of=/dev/fd0h1440
> > >dd: /dev/fd0h1440: No such file or directory
> > >2881+0 records in
> > >2880+0 records out
> >
> > Confirmed on 1.3.68 Slackware 3.0 also...
> > brw-rw---- 1 root floppy 2, 40 Apr 27 1995 /dev/fd0h1440
> >
> > Looks like somebody is returning a bogus error code...
>
> Perhaps the error could be more enlightening, but it is almost certainly
> not bogus.

Really? Hmm, sounds like it's bogus to me.

> Probably the most accurate error code would be "no such device" or "i/o
> error". But I'd be *really* surprised if that command worked for you in

No, it _IS_ bogus. The correct error code would be, as you said, EIO
or perhaps ENODEV, (EIO prefered.)

ENOENT (no such file) is wrong.

--Dan