On Fri, 17 Sep 1999, Matthew Dillon wrote:

> :> files sitting in unflushed disk caches and you reboot, those files are
> :> lost.  Softupdated just guarantees that the disk will be in a stable
> :> state after a crash, not that all data written before the crash will be
> :> available.
> :> 
> :
> :Soft updates guarantees that when an fsync() is done, it's on disk...
> 
>     Actually.... it doesn't.  I wish it did.  All softupdates does is 
>     guarentee that the on-disk image is stable, it doesn't guarentee
>     that the on-disk image has been synchronized to what the program
>     thinks it has written to the file.

According to kirk FSYNC() does the right thing and 'sync()' doesn't.


> 
>                                       -Matt
>                                       Matthew Dillon 
>                                       <[EMAIL PROTECTED]>
> 
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to