Subject: Re: proposal: sys/dkio.h
To: Christoph Badura <>
From: Jason Thorpe <>
List: tech-kern
Date: 01/29/1996 15:18:38
On 29 Jan 1996 17:03 +0100 (Christoph Badura) wrote:

 > Uhm, I believe scsi/sd.c will issue a prevent medium removal command
 > on the first open of the device and a allow medium removal command on
 > the last close.

That is correct.  However, this is wrong for removable media devices such 
as ZIPs.  You have to issue an "allow" before an "eject" because you will 
have opened the device in order to send it the eject command.

Jason R. Thorpe                             
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939