From owner-freebsd-bugs Fri Aug 29 18:10:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA10259 for bugs-outgoing; Fri, 29 Aug 1997 18:10:06 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA10250; Fri, 29 Aug 1997 18:10:01 -0700 (PDT) Date: Fri, 29 Aug 1997 18:10:01 -0700 (PDT) Message-Id: <199708300110.SAA10250@hub.freebsd.org> To: freebsd-bugs Cc: From: Bruce Evans Subject: Re: kern/4413: No way to unmount a floppy that goes bad while mounted. Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/4413; it has been noted by GNATS. From: Bruce Evans To: FreeBSD-gnats-submit@FreeBSD.ORG, zach@gaffaneys.com Cc: Subject: Re: kern/4413: No way to unmount a floppy that goes bad while mounted. Date: Sat, 30 Aug 1997 11:05:12 +1000 >>Description: > >I had a bsd formatted floppy mounted in /fd0 that went bad while it was in the >drive. When I went to unmount it, I got these errors on the console: > >$ umount /dev/fd0 >fd0c: hard error reading fsbn 56 of 56-63 (ST0 44 ST1 > 4 ST2 10 cyl 1 hd 1 sec 3) >fd0c: hard error reading fsbn 56 of 56-63 (ST0 44 ST1 > 4 ST2 10 cyl 1 hd 1 sec 3) >umount: /dev/fd0: Invalid argument This is a new bug in -current. In 2.2, errors for the superblock update in ffs_unmount() are ignored. The fussier checking came from Lite2. Other I/O errors in ffs_umount() are ignored in all versions. I/O errors for the superblock update in ffs_mount() are ignored even in -current. Bruce