Re: Hot-swap SATA and atacontrol

From: Chuck Swiger <cswiger_at_mac.com>
Date: Tue, 02 Aug 2005 13:11:43 -0400
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_at_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
Received on Tue Aug 02 2005 - 15:11:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC