NetBSD Problem Report #111

Date: Mon, 31 Jan 1994 18:50:34 -0800
From: thomas@mathematik.uni-Bremen.de
Reply-To: thomas@mathematik.uni-Bremen.de
To: gnats-admin
Cc: gnats-admin, netbsd-bugs
Subject: kern/111: can't unmount read-only mounted msdos-fs

>Number:         111
>Category:       kern
>Synopsis:       can't unmount read-only mounted msdos-fs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 31 18:50:28 +0000 1994
>Closed-Date:    Thu Feb 24 01:16:31 +0000 1994
>Last-Modified:  Thu Jan 02 18:15:01 +0000 2014
>Originator:     Thomas Eberhardt
>Release:        
>Organization:
CeVis, University of Bremen, Germany
>Environment:

System: NetBSD ed209 0.9a ED209#0 i386

Machine: i386
>Description:
	My disk looks like this:

6 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    16384   122880    4.2BSD     1024  8192    16   # (Cyl.   60 - 67)
  b:    65536   139264      swap                        # (Cyl.   68 - 99)
  c:   892928   122880    unused        0     0         # (Cyl.   60 - 495)
  d:  1015808        0    unused        0     0         # (Cyl.    0 - 495)
  e:   811008   204800    4.2BSD     2048 16384    16   # (Cyl.  100 - 495)
  f:   122848       32    MS-DOS                        # (Cyl.    0*- 59*)

	I mount the MS-DOS partition with the following fstab entry:

/dev/sd0f /dos msdos ro 1 1

	But I can't unmount it!  I.e.:

% umount /dos
msdosfs_sync(): writing to readonly filesystem
/dos: Invalid argument

>How-To-Repeat:
	See description.
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cgd 
State-Changed-When: Wed Feb 23 17:16:31 PST 1994 
State-Changed-Why:  
i fixed it.  fix sent to polk@bsdi.com for inclusion in 'master' sources. 

>Unformatted:



 SUP 8.26 (4.3 BSD) for file NetBSD-current/supfile at Feb  1 03:29:50
 Last update occurred at Mon Jan 31 11:41:57 1994 for collection src
 Last update occurred at Mon Jan 31 11:39:56 1994 for collection ksrc
 Last update occurred at Mon Jan 31 11:39:27 1994 for collection gamessrc
 Last update occurred at Mon Jan 31 11:41:45 1994 for collection regress
 Last update occurred at Mon Jan 31 11:41:27 1994 for collection othersrc

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.