From owner-freebsd-stable Thu Apr 11 3:56:18 2002 Delivered-To: freebsd-stable@freebsd.org Received: from HAL9000.wox.org (12-232-222-90.client.attbi.com [12.232.222.90]) by hub.freebsd.org (Postfix) with ESMTP id 9B3DD37B416 for ; Thu, 11 Apr 2002 03:56:12 -0700 (PDT) Received: (from das@localhost) by HAL9000.wox.org (8.11.6/8.11.6) id g3BAuB017897; Thu, 11 Apr 2002 03:56:11 -0700 (PDT) (envelope-from das) Date: Thu, 11 Apr 2002 03:56:11 -0700 From: David Schultz To: Ian Dowse Cc: stable@FreeBSD.ORG Subject: Re: very old bug Message-ID: <20020411035611.B17764@HAL9000.wox.org> Mail-Followup-To: Ian Dowse , stable@FreeBSD.ORG References: <20020410110605.GJ82820@dru.dn.ua> <200204110155.aa50726@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204110155.aa50726@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Thu, Apr 11, 2002 at 01:55:36AM +0100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Ian Dowse : > In message <20020410110605.GJ82820@dru.dn.ua>, "Vladislav V. Zhuk" writes: > >After attempt to write data to write-protected floppy > >(or diskette with bad blocks) FreeBSD die. > > > >It's VERY VERY annoying... :( > > > >Who can fix this bug?? > > Unfortunately, this is believed to be very hard to fix, so the best > recommendation is that you avoid mounting filesystems from floppy > disks. This question has come up before, and the answer was the same. I'm interested in *why* this is such a problem. I can pinpoint the location of the infinite loop, at least in the msdosfs code, but I don't know enough about how everything interacts to fix it ``the right way.'' Clearly the real source of the problem is elsewhere, in the code involved in writing to the disk. Can someone please explain what is going on, and why the fix would be so difficult? Thanks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message