From owner-freebsd-questions Wed Aug 28 18:25:29 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA28473 for questions-outgoing; Wed, 28 Aug 1996 18:25:29 -0700 (PDT) Received: from gdi.uoregon.edu (cisco-ts8-line14.uoregon.edu [128.223.150.78]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA28460 for ; Wed, 28 Aug 1996 18:25:25 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id SAA00272; Wed, 28 Aug 1996 18:25:07 -0700 (PDT) Date: Wed, 28 Aug 1996 18:25:07 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Eric Berenguier cc: questions@freebsd.org Subject: Re: Crash when removing floppy disk In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 28 Aug 1996, Eric Berenguier wrote: > I use FreeBSD Release 2.1.0, and every time i remove a floppy while > the computer is writing to it, the computer crashes (kernel panic > or just hang). I've tried on two different machines (P75+PCI & 486VLB), > it makes no difference. > I know floppy disks shouldn't be removed when used :), but i think > an OS should not crash for stupid things like this. > My linux box at home doesn't crash when i remove a floppy :) > (no flame please) Then Linux is **MUCH** more lenient on the floppy disk (which is surprising considering they're on async FS). As it stands, the floppy driver assumes you'll treat the floppy disk like a hard disk, mounting it and leaving it there until you unmount it with the 'umount' command. There has been some chatter on improving the floppy support to not require mount/umount, but there were some technical problems that had to be dealt with. > Is there a way to correct this problem ? Don't pull the disks out until you've umounted them and the drive light goes off. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major