Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 95 11:22:05 MST
From:      terry@cs.weber.edu (Terry Lambert)
To:        julian@tfs.com (Julian Elischer)
Cc:        peter@bonkers.taronga.com, dufault@hda.com, john@pyromania.apana.org.au, hackers@FreeBSD.org
Subject:   Re: SyQuest works with FreeBSD 2.0R !
Message-ID:  <9501281822.AA07320@cs.weber.edu>
In-Reply-To: <m0rXwJX-0003vkC@TFS.COM> from "Julian Elischer" at Jan 27, 95 11:26:34 am

next in thread | previous in thread | raw e-mail | index | archive | help
> > The real solution to removable media is to put some sort of ident in the
> > disklabel (including time and system ID) and track that. If you have a
> > mounted filesystem and get a UNIT ATTENTION then you can see whether
> > it's been swapped or not.
>
> At the moment, a unit-attention invalidates all accesses, until
> all have been closed. (the device becomes 'locked'.
> when the reference count has gone down to 0, the lock is released..

With respect, by the time you get a unit attention, it's too late to
flush your in core buffers that haven't been written yet, unless you can
throw the bits at the disk as it's walking down the hallway.

Asking for the disk *back* seems reasonable to me.


					Terry Lambert
					terry@cs.weber.edu
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9501281822.AA07320>