Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 1997 09:31:46 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        dmm125@bellatlantic.net (Donn M Miller (dmm125))
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: system hangs when using floppy
Message-ID:  <19970515093146.ER17070@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.96.970514120711.278A-100000@myname.my.domain>; from Donn M Miller (dmm125) on May 14, 1997 12:18:24 %2B0000
References:  <Pine.BSF.3.96.970514120711.278A-100000@myname.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
As Donn M Miller (dmm125) wrote:

> Had problems with system hanging while reading/writing from
> /dev/fd0.  Specifically, if I'm using mtools or "tar"ing to /dev/fd0,
> and I try to change virtual terminals while the floppy is in use,
> my system hangs.

I've seen several problem reports, but can only reproduce a very small
percentage of this (and only by pushing hard and ejecting/reinserting
floppies while IO is in progress).

Make sure to _not_ use the buffered device for streaming IO, i.e. the
only reason to use /dev/fd0 is to mount a filesystem, you should use
/dev/rfd0 for _everything else_.  This might work around some races as
well, but there are many good other reasons for doing this way.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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