From owner-freebsd-current@FreeBSD.ORG Tue Aug 2 17:11:48 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 CD36116A422 for ; Tue, 2 Aug 2005 17:11:48 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D588D43D4C for ; Tue, 2 Aug 2005 17:11:47 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 4AF7B5CC8; Tue, 2 Aug 2005 13:11:47 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60909-10; Tue, 2 Aug 2005 13:11:45 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-54-113.ny325.east.verizon.net [68.161.54.113]) by pi.codefab.com (Postfix) with ESMTP id 4BFC65C43; Tue, 2 Aug 2005 13:11:43 -0400 (EDT) Message-ID: <42EFA94F.1050105@mac.com> Date: Tue, 02 Aug 2005 13:11:43 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John-Mark Gurney References: <20050802152009.GA29643@mercury.m202.net> <008c01c59777$42db5520$0b02a8c0@justin> <790a9fff050802084439209f7e@mail.gmail.com> <20050802160200.GB62369@funkthat.com> In-Reply-To: <20050802160200.GB62369@funkthat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: 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: Tue, 02 Aug 2005 17:11:49 -0000 John-Mark Gurney wrote: > Scot Hetzel wrote this message on Tue, Aug 02, 2005 at 10:44 -0500: >> On 8/2/05, Justin Finkelstein wrote: >>> I might be being a little dense, but what do you mean by sync? >> >> before you unmount the drive, type: > > just as a little hint since sync returns before everything is written > out, you can do fsync and it will then force out any > unwritten data for disk dev... (and not return till done).. Wouldn't it be nice if "sync" blocked until the disk I/O buffers were flushed? -- -Chuck