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