Subject: Re: sd: MEDIA_LOADED not reset on last close?
To: Mark Brinicombe <amb@physig4.ph.kcl.ac.uk>
From: Charles M. Hannum <mycroft@mit.edu>
List: tech-kern
Date: 05/07/1996 08:59:58
amb@physig4.ph.kcl.ac.uk (Mark Brinicombe) writes:

> 
> I suspect that in my case the drive is meant to report a unit attention
> command when the media is changed (this will cause a disklabel re-read)
> but the pd drive does not do this which means that is it very easy to
> trash PD discs unless sdclose is fixed.

All that `fixing' sdclose() would do is limit the occasions on which
you could lose from this.  If you have a drive which aggressively
violates the SCSI spec, I would suggest you *throw it out* rather than
dumbing down (and perhaps breaking) software to deal with it.