From owner-freebsd-doc@FreeBSD.ORG Wed Aug 25 08:50:27 2004 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C93216A4CE for ; Wed, 25 Aug 2004 08:50:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E1F543D3F for ; Wed, 25 Aug 2004 08:50:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7P8oQ2K004257 for ; Wed, 25 Aug 2004 08:50:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7P8oQEq004256; Wed, 25 Aug 2004 08:50:26 GMT (envelope-from gnats) Date: Wed, 25 Aug 2004 08:50:26 GMT Message-Id: <200408250850.i7P8oQEq004256@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Peter Pentchev Subject: Re: docs/70916: msync.2 manpage update X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Peter Pentchev List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 08:50:27 -0000 The following reply was made to PR docs/70916; it has been noted by GNATS. From: Peter Pentchev To: Radim Kolar Cc: bug-followup@FreeBSD.org Subject: Re: docs/70916: msync.2 manpage update Date: Wed, 25 Aug 2004 11:44:15 +0300 On Tue, Aug 24, 2004 at 09:39:30PM +0200, Radim Kolar wrote: > > >Number: 70916 > >Category: docs > >Synopsis: msync.2 manpage update > >Description: > Msync function is obsolete as noted in mmap manpage, but this information > is missing from msync manpage itself. What do people think about the following patch? G'luck, Peter Index: src/lib/libc/sys/msync.2 =================================================================== RCS file: /home/ncvs/src/lib/libc/sys/msync.2,v retrieving revision 1.27 diff -u -r1.27 msync.2 --- src/lib/libc/sys/msync.2 30 Jun 2004 20:09:10 -0000 1.27 +++ src/lib/libc/sys/msync.2 25 Aug 2004 08:43:05 -0000 @@ -114,3 +114,12 @@ .Fn msync system call first appeared in .Bx 4.4 . +.Sh BUGS +The +.Fn msync +system call is obsolete since +.Bx +implements a coherent file system buffer cache. +However, it may be +used to associate dirty VM pages with file system buffers and thus cause +them to be flushed to physical media sooner rather than later. -- Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If this sentence didn't exist, somebody would have invented it.