Hot-swap SATA and atacontrol

Chuck Swiger cswiger at mac.com
Tue Aug 2 17:11:49 GMT 2005


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


More information about the freebsd-current mailing list