Subject: Re: sd: MEDIA_LOADED not reset on last close?
To: Mark Brinicombe <email@example.com>
From: Charles M. Hannum <firstname.lastname@example.org>
Date: 05/07/1996 08:59:58
email@example.com (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.