From matthias.andree@gmx.de  Sun Oct 22 21:35:26 2006
Return-Path: <matthias.andree@gmx.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C92F816A407
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Oct 2006 21:35:26 +0000 (UTC)
	(envelope-from matthias.andree@gmx.de)
Received: from m2a2.dyndns.org (p509128E6.dip0.t-ipconnect.de [80.145.40.230])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6742C43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 22 Oct 2006 21:35:26 +0000 (GMT)
	(envelope-from matthias.andree@gmx.de)
Received: by merlin.emma.line.org (Postfix, from userid 500)
	id 9FFADCEB5; Sun, 22 Oct 2006 23:35:24 +0200 (CEST)
Message-Id: <20061022213524.9FFADCEB5@merlin.emma.line.org>
Date: Sun, 22 Oct 2006 23:35:24 +0200 (CEST)
From: Matthias Andree <matthias.andree@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ext2 mount -uw not working 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         104687
>Category:       kern
>Synopsis:       ext2 mount -uw not working
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rodrigc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 22 21:40:15 GMT 2006
>Closed-Date:    Sun Jan 28 05:23:58 GMT 2007
>Last-Modified:  Sun Jan 28 05:23:58 GMT 2007
>Originator:     Matthias Andree
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD merlin.emma.line.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #13: Sat Oct 21 14:38:28 CEST 2006 toor@merlin.emma.line.org:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
After a read-only mount of an ext2 filesystem,
mount -uw /mountpoint
does not update the file system to read-write mount.

umount /mountpoint ; mount -t ext2 -w /spe/cial /mountpoint
however works properly
	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: rodrigc 
State-Changed-When: Sun Jan 21 00:08:55 UTC 2007 
State-Changed-Why:  
This problem does not occur in CURRENT, because of major 
refactoring of the mount code.  However, it still happens in RELENG_6 
because not all of the fixes in CURRENT have been merged to RELENG_6. 


Responsible-Changed-From-To: freebsd-bugs->rodrigc 
Responsible-Changed-By: rodrigc 
Responsible-Changed-When: Sun Jan 21 00:08:55 UTC 2007 
Responsible-Changed-Why:  
This problem does not occur in CURRENT, because of major 
refactoring of the mount code.  However, it still happens in RELENG_6 
because not all of the fixes in CURRENT have been merged to RELENG_6. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=104687 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/104687: commit references a PR
Date: Sun, 28 Jan 2007 01:06:31 +0000 (UTC)

 rodrigc     2007-01-28 01:06:18 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sbin/mount_ext2fs    mount_ext2fs.c 
   Log:
   MFC 1.22:
   Convert mount_ext2fs to a simple program which passes "-o option" to nmount().
   
   PR: 104687
   
   Revision  Changes    Path
   1.20.2.1  +32 -35    src/sbin/mount_ext2fs/mount_ext2fs.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/104687: commit references a PR
Date: Sun, 28 Jan 2007 01:25:26 +0000 (UTC)

 rodrigc     2007-01-28 01:24:57 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sbin/mount           mount.c 
   Log:
   MFC 1.89, 1.90
   Fix "mount -u -o ro" and "mount -u -o rw".
   
   PR:             104687
   
   Revision  Changes    Path
   1.69.2.5  +30 -2     src/sbin/mount/mount.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/104687: commit references a PR
Date: Sun, 28 Jan 2007 01:56:58 +0000 (UTC)

 rodrigc     2007-01-28 01:56:51 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sys/kern             vfs_mount.c 
   Log:
   MFC: 1.199, 1.200, 1.219, 1.222
   Cleanups to vfs_donmount() function to better handle
   "mount -u -o ro", "mount -r /usr", "mount -ar".
   
   PR:             104687
   
   Revision    Changes    Path
   1.196.2.22  +107 -58   src/sys/kern/vfs_mount.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: rodrigc 
State-Changed-When: Sun Jan 28 05:22:03 UTC 2007 
State-Changed-Why:  
This now works in RELENG_6 
mount -t ext2fs -o ro /dev/ad0s4 /mnt 
/dev/ad0s4 on /mnt (ext2fs, local, read-only) 

mount -uw /mnt 
/dev/ad0s4 on /mnt (ext2fs, local) 

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