Date: Fri, 29 Aug 1997 18:10:01 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs Subject: Re: kern/4413: No way to unmount a floppy that goes bad while mounted. Message-ID: <199708300110.SAA10250@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/4413; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> 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<abnrml,top_head> ST1 > 4<sec_not_fnd> ST2 10<wrong_cyl> cyl 1 hd 1 sec 3) >fd0c: hard error reading fsbn 56 of 56-63 (ST0 44<abnrml,top_head> ST1 > 4<sec_not_fnd> ST2 10<wrong_cyl> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708300110.SAA10250>