From owner-freebsd-bugs Wed Dec 18 14:01:10 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA00563 for bugs-outgoing; Wed, 18 Dec 1996 14:01:10 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id OAA00558 for ; Wed, 18 Dec 1996 14:01:07 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65v3.2/1.1.8.2/19Aug95-0530PM) id AA09033; Wed, 18 Dec 1996 17:00:22 -0500 Date: Wed, 18 Dec 1996 17:00:22 -0500 From: Garrett Wollman Message-Id: <9612182200.AA09033@halloran-eldar.lcs.mit.edu> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: bugs@freebsd.org Subject: Re: installation 2.1.6 In-Reply-To: <199612182047.VAA23008@uriah.heep.sax.de> References: <199612181245.NAA29096@vector.jhs.no_domain> <199612182047.VAA23008@uriah.heep.sax.de> Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk < said: > Diffs are welcome. Right now, sysinstall simply tries to open(2) the > special file. Due to the poor errno mechanism, it cannot distinguish > between no media available and device probe failed: both are meant to > be ENXIO (if the driver has been implemented correctly). Actually, no... this means the driver has been implemented INcorrectly. A correctly working driver should be openable regardless of whether or not there is a tape in the drive so that the user can perform ioctl(2) calls on it to determine definitively whether or not there is a tape in the drive (and perhaps other things). -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, ANA, or NSA| - Susan Aglukark and Chad Irschick