Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 1998 08:29:53 -0700
From:      John Polstra <jdp@polstra.com>
To:        rhuff@cybercom.net
Cc:        hackers@FreeBSD.ORG
Subject:   Re: softupdates and sync 
Message-ID:  <199810201529.IAA04387@austin.polstra.com>
In-Reply-To: <199810201410.KAA23761@shell1.cybercom.net>
References:  <199810201410.KAA23761@shell1.cybercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <199810201410.KAA23761@shell1.cybercom.net>,
Robert Huff  <rhuff@cybercom.net> wrote:

> 	So, short of umount, is there a program (or system call that
> can be turned into a program) that will cause the filesystem to
> _immediately_ flush unwritten buffers?

For individual files, there is fsync().

John
--
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Nobody ever went broke underestimating the taste of the American public."
                                                            -- H. L. Mencken

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



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