From owner-freebsd-hackers Wed Apr 5 15:53:18 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA04066 for hackers-outgoing; Wed, 5 Apr 1995 15:53:18 -0700 Received: from mail.barrnet.net (mail.BARRNET.NET [131.119.246.7]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id PAA04060 for ; Wed, 5 Apr 1995 15:53:15 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by mail.barrnet.net (8.6.10/MAIL-RELAY-LEN) with SMTP id PAA27416 for ; Wed, 5 Apr 1995 15:49:16 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA03358; Thu, 6 Apr 1995 00:47:03 +0200 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id AAA07676 for freebsd-hackers@freebsd.org; Thu, 6 Apr 1995 00:47:02 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id AAA07605 for freebsd-hackers@freebsd.org; Thu, 6 Apr 1995 00:32:51 +0200 From: J Wunsch Message-Id: <199504052232.AAA07605@uriah.heep.sax.de> Subject: Re: devices going offline To: freebsd-hackers@FreeBSD.org (FreeBSD hackers) Date: Thu, 6 Apr 1995 00:32:50 +0200 (MET DST) In-Reply-To: <199504052140.OAA24013@seagull.rtd.com> from "Don Yuniskis" at Apr 5, 95 02:40:53 pm Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 661 Sender: hackers-owner@FreeBSD.org Precedence: bulk As Don Yuniskis wrote: > > When an external device has the capability of being manually > taken offline during an operation, should the driver automatically > resume when the device returns online? Or, abort the operation > in progress (signalling an error)? Or, prompt (how?) for user > intervention?? It simply can't do the latter. (A device driver does not have an interactive terminal, and it does not need to have an attached process while operating in the ``bottom half'' of the kernel.) I'd say: EIO. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)