From owner-freebsd-bugs Wed Dec 18 12:51:40 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA26632 for bugs-outgoing; Wed, 18 Dec 1996 12:51:40 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id MAA26583; Wed, 18 Dec 1996 12:51:10 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id VAA05312; Wed, 18 Dec 1996 21:51:07 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id VAA09386; Wed, 18 Dec 1996 21:51:07 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id VAA23008; Wed, 18 Dec 1996 21:47:44 +0100 (MET) From: J Wunsch Message-Id: <199612182047.VAA23008@uriah.heep.sax.de> Subject: Re: installation 2.1.6 To: jhs@freebsd.org Date: Wed, 18 Dec 1996 21:47:43 +0100 (MET) Cc: bugs@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612181245.NAA29096@vector.jhs.no_domain> from "Julian H. Stacey" at "Dec 18, 96 01:45:24 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Julian H. Stacey wrote: > Installing 2.1.6 on a new box ... > When I had no tape in the st0 drive > there was an error message about no tape drives available, That's poor behaviour, but documented. > so I started thinking hardware fault .. not so ... > error message is misleading, it should have said no _media_ available. 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). With a working DEVFS, this might change: device probe failed should translate into ENOENT then. ;) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)