From owner-freebsd-current Wed Oct 16 11:23:12 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA23469 for current-outgoing; Wed, 16 Oct 1996 11:23:12 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA23454 for ; Wed, 16 Oct 1996 11:23:06 -0700 (PDT) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.7.6/8.7.3) with SMTP id LAA02244; Wed, 16 Oct 1996 11:20:18 -0700 (PDT) Message-ID: <326526E2.167EB0E7@whistle.com> Date: Wed, 16 Oct 1996 11:18:10 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Bruce Evans CC: current@freebsd.org Subject: Re: scsi drives left locked by shutdown References: <199610161627.CAA25066@godzilla.zeta.org.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > > I use a zip drive for "/" and swap on a test machine. Shutdown doesn't > close the swap device, so scsi_prevent() isn't called to unlock the drive, > so a hard reset is required to eject disks. > > Bruce maybe a use for the at_shutdown() call? At one stage in the Berkeley BSD 4.4 course there was discussion of adding "shutdown" entries to cdevsw entries..