Subject: kern/111: can't unmount read-only mounted msdos-fs
To: None <gnats-admin>
From: None <thomas@mathematik.uni-Bremen.de>
List: netbsd-bugs
Date: 01/31/1994 18:50:34
>Number: 111
>Category: kern
>Synopsis: can't unmount read-only mounted msdos-fs
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 31 18:50:28 1994
>Originator: Thomas Eberhardt
>Organization:
CeVis, University of Bremen, Germany
>Release:
>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:
>Audit-Trail:
>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
------------------------------------------------------------------------------