From owner-freebsd-bugs Fri Aug 29 00:30:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA17343 for bugs-outgoing; Fri, 29 Aug 1997 00:30:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA17336; Fri, 29 Aug 1997 00:30:02 -0700 (PDT) Resent-Date: Fri, 29 Aug 1997 00:30:02 -0700 (PDT) Resent-Message-Id: <199708290730.AAA17336@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, zach@gaffaneys.com Received: from murkwood.gaffaneys.com (dialup3.gaffaneys.com [208.155.161.53]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA17131 for ; Fri, 29 Aug 1997 00:27:25 -0700 (PDT) Received: (from zach@localhost) by murkwood.gaffaneys.com (8.8.7/8.8.6) id CAA10903; Fri, 29 Aug 1997 02:27:16 -0500 (CDT) Message-Id: <199708290727.CAA10903@murkwood.gaffaneys.com> Date: Fri, 29 Aug 1997 02:27:16 -0500 (CDT) From: Zach Heilig Reply-To: zach@gaffaneys.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/4413: No way to unmount a floppy that goes bad while mounted. Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4413 >Category: kern >Synopsis: No way to unmount a floppy that goes bad while mounted. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 29 00:30:01 PDT 1997 >Last-Modified: >Originator: Zach Heilig >Organization: >Release: FreeBSD 2.2-STABLE i386 >Environment: >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 $ mount /dev/sd0a on / (asynchronous, local) /dev/sd0s1f on /usr (asynchronous, local, nodev) /dev/sd1s1e on /home (asynchronous, local, nodev, nosuid) /dev/sd0s1e on /var (asynchronous, local, nodev, nosuid) procfs on /proc (local) /dev/fd0 on /fd0 (asynchronous, local) >How-To-Repeat: I guess you would just have to wait for a floppy to go bad while it is mounted. >Fix: I umounted it by puting a different write-protected floppy in the drive and running umount. >Audit-Trail: >Unformatted: