From nobody@FreeBSD.org  Sun Sep 30 19:13:29 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 411EC37B40E
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 30 Sep 2001 19:13:29 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f912DTP94739;
	Sun, 30 Sep 2001 19:13:29 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200110010213.f912DTP94739@freefall.freebsd.org>
Date: Sun, 30 Sep 2001 19:13:29 -0700 (PDT)
From: David Hill <david@wmol.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ls'ing mounted brand new floppy locks up machine.
X-Send-Pr-Version: www-1.0

>Number:         30948
>Category:       kern
>Synopsis:       ls'ing mounted brand new floppy locks up machine.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 30 19:20:01 PDT 2001
>Closed-Date:    Wed Mar 07 21:11:05 GMT 2007
>Last-Modified:  Wed Mar 07 21:11:05 GMT 2007
>Originator:     David Hill
>Release:        5.0-CURRENT
>Organization:
>Environment:
FreeBSD rain.hill.hom 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Tue Sep 25 00:53:11 EDT 2001
     root@rain.hill.hom:/usr/src/sys/i386/compile/RAIN  i386

>Description:
Ok, I know this was dumb to do, but after I mounted a valid floppy (msdosfs), 
removed it, put in a brand new floppy (wihtout umount'ing), and did ls,
the machine locked up completely
>How-To-Repeat:
1.) Insert a dos/windows floppy.
2.) mount_msdosfs /dev/fd0 /mnt/floppy
3.) cd /mnt/floppy
4.) ls (it works)
5.) remove floppy
6.) insert a brand new floppy, right out of the package
7.) ls

it locks up.
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Wed Mar 7 21:11:04 UTC 2007 
State-Changed-Why:  
it is widely known that you cannot change mounted media till it is 
unmounted, since we cannot lock floppy disks like apple did with their 
early hardare, you can physically change them but not operating system 
wise. This is a: Dont do that type of thing. Closingthe PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=30948 
>Unformatted:
