*BSD News Article 24394


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!pipex!uknet!EU.net!sun4nl!philapd!apdnews!spoetnix.idca.tds.philips.nl!wilko
From: wilko@idca.tds.philips.nl (Wilko Bulte)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Bad bug in new scsi code and work-around
Message-ID: <wilko.754133631@spoetnix.idca.tds.philips.nl>
Date: 24 Nov 93 09:33:51 GMT
References: <CGyMsv.K86@tfs.com>
Sender: news@idca.tds.philips.nl
Lines: 25

julian@TFS.COM (Julian Elischer) writes:

>A bug has been found in the new scsi code, (presently in  FreeBSD-current)
>loaded by some people, which results in the following behaviour

>An attempt to open a raw disk device while it is ACTIVELY being used as
>a block device has a high probability of freezing all access to that disk
>If it is your system disk............

On drivers for SysV systems that I've worked on we simply denied
access to raw devices that were in use (either as block or as
swap device). This only leaves a hole for raw devices that are
directly accessed by a application (notably database engines).

Is there any objection to do a similar thing for FreeBSD?

Cheers

Wilko


--
 |   / o / /  _   Wilko Bulte               mail: wilko@idca.tds.philips.nl
 |/|/ / / /( (_)  |d|i|g|i|t|a|l| Equipment Corporation voice: +3155-432062
fax: +3155-432103 DTN: 829 2062 PO Box 245 - 7300 AE Apeldoorn - The Netherlands