Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2000 23:06:12 +0900 (JST)
From:      nokubi@ff.iij4u.or.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/19262: Is fsync.2 NAME section wrong? 
Message-ID:  <200006141431.XAA04483@mfi01.iij.ad.jp>

next in thread | raw e-mail | index | archive | help

>Number:         19262
>Category:       docs
>Synopsis:       Is fsync.2 NAME section wrong?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 14 07:40:03 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     NOKUBI Hirotaka
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

	FreeBSD fifthluna.nokubi.or.jp 3.4-STABLE FreeBSD 3.4-STABLE #13: Mon Jan 31 00:17:41 JST 2000     root@sassaby.nokubi.or.jp:/usr/src/sys/compile/FIFTHLUNA  i386

>Description:

	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.

	If it's my misunderstanding, please forget about this PR.

>How-To-Repeat:

	man 2 fsync
	man 2 sync

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


>Release-Note:
>Audit-Trail:
>Unformatted:


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




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