Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 1998 09:25:24 -0400 (EDT)
From:      Jamie Bowden <jamie@itribe.net>
To:        Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: softupdates and sync
Message-ID:  <Pine.SGI.3.96.981019092321.8593B-100000@animaniacs.itribe.net>
In-Reply-To: <98Oct19.070445est.40346@border.alcanet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Oct 1998, Peter Jeremy wrote:

> On Sat, 17 Oct 1998 15:56:17 -0600, Warner Losh <imp@village.org> wrote:
> >I guess I'm not making myself clear.  Why doesn't sync(1) flush these
> >things to disk?
> sync(8) just calls sync(2).  sync(2) just starts the buffer flush - it
> does not wait for the flush to complete.  This has always been true
> and is the origin of the `type sync 3 times before halting system'
> mantra.

This mantra has never made any sense to me.  The process of halting the
system is unmounting filesystems, which will force syncing before umount
happens.  I have never bothered to manually sync a filesystem prior to a 
shutdown, reboot, or halt command.

Jamie Bowden

-- 
Systems Administrator, iTRiBE.net

If we've got to fight over grep, sign me up.  But boggle can go.
	-Ted Faber (on Hasbro's request for removal of /usr/games/boggle)


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?Pine.SGI.3.96.981019092321.8593B-100000>