[4829] in Athena Bugs

home help back first fref pref prev next nref lref last post

RVD open returns wrong error code

daemon@ATHENA.MIT.EDU (John Carr)
Fri Apr 27 13:13:20 1990

To: bugs@ATHENA.MIT.EDU
Date: Fri, 27 Apr 90 13:13:09 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>

Attempting to open for writing an RVD that is spun up read only results in
errno being set to ENXIO.  It should be ENODEV or EACCESS ("man 2 intro" for
definitions of these codes).

To fix, change the next-to-last line of sys/machineio/vd.c:vdopen().


home help back first fref pref prev next nref lref last post