Subject: kern/13861: nullfs can't be remounted ro/rw
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 09/03/2001 23:09:04
>Number:         13861
>Category:       kern
>Synopsis:       nullfs can't be remounted ro/rw
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 03 06:05:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     matthew green
>Release:        <NetBSD-current source date>today
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
	
System: NetBSD madrugada.eterna.com.au 1.5W NetBSD 1.5W (_madrugada_) #97: Fri Aug 17 01:27:38 EST 2001 mrg@madrugada.eterna.com.au:/var/_madrugada_ alpha
Architecture: alpha
Machine: alpha
>Description:

	the nullfs code doesn't allow one to remount a filesystem and change
	the read-write / read-only mode.  one is forced to unmount and remount,
	which means it can't be done on an active filesystem.

>How-To-Repeat:

	mount /usr/src as read-only nullfs.  after you've finished a build and
	want to modify sources, attempt to mount -u -o rw /usr/src and fail.

>Fix:

	write the code to support this in nullfs.  i had a look but i'm going
	to leave this one to someone else....
>Release-Note:
>Audit-Trail:
>Unformatted: