From nobody@FreeBSD.ORG Tue Nov 16 03:51:43 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id AF1DD15202; Tue, 16 Nov 1999 03:51:36 -0800 (PST)
Message-Id: <19991116115136.AF1DD15202@hub.freebsd.org>
Date: Tue, 16 Nov 1999 03:51:36 -0800 (PST)
From: okimoto@mrit.mei.co.jp
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: Write access to write protected media causes system panic.
X-Send-Pr-Version: www-1.0

>Number:         14918
>Category:       kern
>Synopsis:       Write access to write protected media causes system panic.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 16 04:00:01 PST 1999
>Closed-Date:    Thu Aug 3 00:14:26 PDT 2000
>Last-Modified:  Thu Aug 03 00:15:11 PDT 2000
>Originator:     Yoshiyuki OKIMOTO
>Release:        3.3-RELEASE
>Organization:
Matsushita Research Institute Tokyo, Inc.
>Environment:
FreeBSD sango 3.3-RELEASE FreeBSD 3.3-RELEASE #1: Tue Nov  2 12:20:21 JST 1999     root@sango:/usr/src/sys/compile/SANGO  i386

>Description:
If you mount write protected removable media (FD, PD,..) 
without read-only option, and write something, 
and un-mount, then system panics. This is dangerous,
because I sometimes forget un-protecting these media.

Linux mount automatically adds read-only option, when 
mounting write protected media. This is safe...

>How-To-Repeat:
1) mount write protected removable media.
2) write something this media.
3) un-mount this media.
>Fix:
How about adding read-only mount option automatically
like Linux mount.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Thu Aug 3 00:14:26 PDT 2000 
State-Changed-Why:  
Duplicate of kern/11808 and kern/10870 . 

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