Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2002 10:53:37 -0800
From:      David Schultz <dschultz@uclink.Berkeley.EDU>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Patch to allow a driver to report unrecoverable write errors to the buf layer
Message-ID:  <20021029185337.GA21064@HAL9000.homeunix.com>
In-Reply-To: <94802.1035914508@critter.freebsd.dk>
References:  <20021029184724.A1682@gicco.homeip.net> <94802.1035914508@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Poul-Henning Kamp <phk@critter.freebsd.dk>:
> >Isn't there a means to determine the state of the protection before
> >the mount is attempted?
> 
> As far as I know there isn't.  I'm not sure if it is a device driver
> (morituri te salutem!) or hardware issue.

I believe most floppy drives can be queried for both their
write-protect status and whether the inserted disk has been
changed.  If someone cared enough, these bits could be used to
protect users from themselves.  IMO, the retry-forever bug is the
real problem, but I'm a bit skeptical that it's easy to solve
safely.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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