From owner-freebsd-current@FreeBSD.ORG Wed Aug 3 08:29:24 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDE6916A41F for ; Wed, 3 Aug 2005 08:29:24 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AA6C43D45 for ; Wed, 3 Aug 2005 08:29:24 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-2.free.fr (Postfix) with ESMTP id CE11132333D; Wed, 3 Aug 2005 10:29:21 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 5F12A405B; Wed, 3 Aug 2005 10:29:39 +0200 (CEST) Date: Wed, 3 Aug 2005 10:29:39 +0200 From: Jeremie Le Hen To: "Matthew D. Fuller" Message-ID: <20050803082939.GE45385@obiwan.tataz.chchile.org> References: <20050802152009.GA29643@mercury.m202.net> <008c01c59777$42db5520$0b02a8c0@justin> <790a9fff050802084439209f7e@mail.gmail.com> <20050802160045.GA61854@freebie.xs4all.nl> <20050803024341.GA92499@over-yonder.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050803024341.GA92499@over-yonder.net> User-Agent: Mutt/1.5.9i Cc: Wilko Bulte , Scot Hetzel , Justin Finkelstein , freebsd-current@freebsd.org Subject: Re: Hot-swap SATA and atacontrol X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2005 08:29:25 -0000 Hi, On Tue, Aug 02, 2005 at 09:43:41PM -0500, Matthew D. Fuller wrote: > > > before you unmount the drive, type: > > > > > > sync > > > sync > > > sync > > > > > > Then unmount the drive, and remove it. > > > > Unmount does not return until the buffers have been synced anyway, > > so this does not buy you anything. > > (ttyp3):{720}% fortune -m syncs > %% (fortunes) > 3 syncs represent the trinity - init, the child and the eternal zombie > process. In doing 3, you're paying homage to each and I think such > traditions are important in this shallow, mercurial business we find > ourselves in. > -- Jordan K. Hubbard More seriously, I don't see the point in using sync(8) three times consecutively, except that's an indirect method to wait for the disk buffers to be flushed before powering down. Please, correct me if I'm wrong. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >