Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 1998 22:50:01 -0700 (PDT)
From:      Peter Wemm <peter@netplex.com.au>
To:        freebsd-bugs
Subject:   Re: kern/6212: Two bugs with MFS filesystem fixed, two features added 
Message-ID:  <199804070550.WAA24796@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/6212; it has been noted by GNATS.

From: Peter Wemm <peter@netplex.com.au>
To: Matthew Dillon <dillon@backplane.com>
Cc: freebsd-gnats-submit@hub.FreeBSD.ORG
Subject: Re: kern/6212: Two bugs with MFS filesystem fixed, two features added 
Date: Tue, 07 Apr 1998 13:46:25 +0800

 Matthew Dillon wrote:
 [..]
 >  
 >      It's a fantastic environment, and MFS is extremely stable where as tryin
     g
 >      to use vnconfig with an NFS-backed file leads to massive system corrupti
     on
 >      and crashes even under FreeBSD-3.0-current.  Since MFS disassociates I/O
 >      with a separate kernel process, it can deal with NFS based backing store
 >      without screwing up the machine.
 
 Hmm!  Now this is interesting, I'd never thought of trying that before.
 
 Although, I'm puzzled why the msync() is needed at all, since it's just a
 mmap'ed file.  Perhaps there is some new lurking problem with synchronizing
 of mmap'ed files... :-/
 
 >  						-Matt
 
 Can you please do us a favour and supply a context or unified diff?
 ie: 'cvs diff -u'  Your patch could then be automatically applied rather
 than having to guess the context by hand.
 
 >  Index: mkfs.c
 >  ===================================================================
 >  RCS file: /src/FreeBSD-CVS/ncvs/src/sbin/newfs/mkfs.c,v
 >  retrieving revision 1.21
 >  diff -r1.21 mkfs.c
 >  42a43
 >  > #include <sys/stat.h>
 >  108a110
 >  > extern int	skipnewfs;
 >  181c183,185
 >  < 			fd = open(filename,O_RDWR|O_TRUNC|O_CREAT,0644);
 >  ---
 >  > 			struct stat st;
 >  > 
 >  > 			fd = open(filename,O_RDWR|O_CREAT,0644);
 
 Cheers,
 -Peter
 --
 Peter Wemm <peter@netplex.com.au>   Netplex Consulting
 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804070550.WAA24796>