From owner-man-jp-reviewer@jp.freebsd.org  Wed Jul 12 01:10:54 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id BAA18526;
	Wed, 12 Jul 2000 01:10:54 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from mfi01.iij.ad.jp (mfi01.iij.ad.jp [202.232.2.116])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id BAA18521
	for <man-jp-reviewer@jp.freebsd.org>; Wed, 12 Jul 2000 01:10:53 +0900 (JST)
	(envelope-from nokubi@ff.iij4u.or.jp)
Received: from ppp-client.ff.iij4u.or.jp (h164.p029.iij4u.or.jp [210.130.29.164])
	by mfi01.iij.ad.jp (8.8.8/MFI1.3) with ESMTP id BAA12478
	for <man-jp-reviewer@jp.freebsd.org>; Wed, 12 Jul 2000 01:10:51 +0900 (JST)
Message-Id: <200007111610.BAA12478@mfi01.iij.ad.jp>
Received: from sassaby.nokubi.or.jp (sassaby.nokubi.or.jp [192.168.9.3]) by ppp-client.ff.iij4u.or.jp (8.9.3/3.5Wpl7-ppp) with ESMTP id BAA00735 for <man-jp-reviewer@jp.freebsd.org>; Wed, 12 Jul 2000 01:15:27 +0900 (JST)
Received: from sassaby.nokubi.or.jp (localhost.nokubi.or.jp [127.0.0.1]) by sassaby.nokubi.or.jp (8.9.3/3.5Wpl7-glove) with ESMTP id BAA00638 for <man-jp-reviewer@jp.freebsd.org>; Wed, 12 Jul 2000 01:13:59 +0900 (JST)
To: man-jp-reviewer@jp.freebsd.org
In-reply-to: Your message of "Thu, 06 Jul 2000 01:02:26 JST."
             <200007051610.BAA24595@mfi01.iij.ad.jp> 
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=ISO-2022-JP
Date: Wed, 12 Jul 2000 01:13:59 +0900
From: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: man-jp-reviewer 2756
Subject: [man-jp-reviewer 2756] Re: (man2) sync.2 
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: nokubi@ff.iij4u.or.jp

In message <200007051610.BAA24595@mfi01.iij.ad.jp>, NOKUBI Hirotaka writes:

>>> $B0l1~(B fsync.2 $B$O(B send-pr $B$7$F$_$^$7$?!#(B
>>> $B$J$s$A$c$C$F(BPR $B$@$HCQ$:$+$7$$$N$G!"1#$75e(B ($B$C$F$[$I$G$b$J$$$1$I(B :-) $B$N(B
>>> vfork.2 $B$HJB$Y$F=P$7$?$s$G$9$,2;:;BA$"$j$^$;$s!#(B
>>>
>>> $B$H$j$"$($:(B fsync.2 $B$O0J2<$NJQ99$r2C$($FDs=P$7$F$*$-$^$9!#(B
>>
>>$B$H$3$m$G!"JV;v$O$"$C$?$N$G$7$g$&$+(B?
>
>$B2;:;BA$"$j$^$;$s(B :-(
>
>4.3BSD $B$b8=:_$N$HF1$8I=8=$@$7!"<B$O$"$l$G$"$C$F$$$k$N$G$O(B? $B$H(B
>$BFb?4%T%/%T%/$G$9(B :-)

$B1~Ez$"$j$^$7$?!#$h$+$C$?$!!A(B..
$B$$$$J80F$,$"$j$^$7$?$iDs0F$7$F$"$2$F2<$5$$!#(B

# vfork.2 $B$NJ}$b(B close $B$5$l$?$N$G0l0B?4$G$9!#(B
----
NOKUBI Hirotaka
Fingerprint20 = DEBC 0793 7CD6 92F1 0A1F  A792 9E2F EEEE A41B 171D

Date: Tue, 11 Jul 2000 01:15:00 +0100
From: Ben Smithurst <ben@FreeBSD.org>
To: nokubi@ff.iij4u.or.jp
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: docs/19262: Is fsync.2 NAME section wrong?
Message-ID: <20000711011500.A15649@magnesium.scientia.demon.co.uk>
References: <200006141431.XAA04483@mfi01.iij.ad.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <200006141431.XAA04483@mfi01.iij.ad.jp>
Sender: Ben Smithurst <ben@scientia.demon.co.uk>
X-UIDL: dccd29a0874af3fd6a7c68771f09c2c3
Status: U

nokubi@ff.iij4u.or.jp wrote:

> 	Because I'm not native English speaker, I'm not sure about this.
> 	But I have strange feeling about fsync.2 and sync.2 NAME section.
> 	They say like this:
> 	  fsync - synchronize a file's in-core state with that on disk
> 	  sync - synchronize disk block in-core status with that on disk
> 
> 	I think that fsync(2) and sync(2) write changes from memory to disk.
> 	But these sentences make me feel like that they read from disk
> 	to memory and discard changes.

Yes, I see what you mean...

> 	SUSV2 saids like this:
> 	  fsync - synchronise changes to a file
> 	  sync - schedule filesystem updates

They seem a bit short to me, but I can't seem to come up with any wording
that I like. :-(

fsync - write all in-core changes of a file to disk
sync - schedule an update of all modified filesystem data to disk

?? Are they better?  Anyone care to comment?

-- 
Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D


