Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 1998 15:34:44 -0700
From:      Jason Thorpe <thorpej@nas.nasa.gov>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        hackers@FreeBSD.ORG, mkn@emailbox.hdtv.lucent.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: Unsupport calls 
Message-ID:  <199806302234.PAA29470@lestat.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
On Tue, 30 Jun 1998 21:42:06 +0000 (GMT) 
 Terry Lambert <tlambert@primenet.com> wrote:

 > > > fdatasync - no support in FreeBSD.  Maybe not a big deal.
 > > 
 > > Yes, I can't find it either, not even in the Solaris man pages.  What
 > > does it do?
 > 
 > It is a Linux-ism having to do with syncing out the file data and
 > not the file metadata.

No it is NOT an Linux-ism.  From the NetBSD fdatasync(2) manual page:

STANDARDS
     The fdatasync() function conforms to IEEE Std1003.1b-1993 (``POSIX'').

This is in NetBSD-current, and will be in the NetBSD 1.4 release.

 > The FreeBSD equivalent is fsync(), since you have no choice on the
 > metadata, since FreeBSD obeys the POSIX semantics (which require
 > metadata updates to occur).

You're a bit out of date.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 428 6939

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



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