Date: Tue, 02 Aug 2005 13:11:43 -0400 From: Chuck Swiger <cswiger@mac.com> To: John-Mark Gurney <gurney_j@resnet.uoregon.edu> Cc: freebsd-current@freebsd.org Subject: Re: Hot-swap SATA and atacontrol Message-ID: <42EFA94F.1050105@mac.com> In-Reply-To: <20050802160200.GB62369@funkthat.com> References: <20050802152009.GA29643@mercury.m202.net> <008c01c59777$42db5520$0b02a8c0@justin> <790a9fff050802084439209f7e@mail.gmail.com> <20050802160200.GB62369@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
John-Mark Gurney wrote: > Scot Hetzel wrote this message on Tue, Aug 02, 2005 at 10:44 -0500: >> On 8/2/05, Justin Finkelstein <justin@redwiredesign.com> 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 <diskdev> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42EFA94F.1050105>