[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: ktempfile
From:       Thiago Macieira <thiago () kde ! org>
Date:       2007-10-17 17:21:40
Message-ID: 200710171921.40314.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Em Wednesday 17 October 2007 17:59:07 Oswald Buddenhagen escreveu:
> > That's because we can't tell the kernel to sync one single file, so we
> > have to sync the entire disk or system.
>
> i'm wondering where you got *that* from? fsync() exists for something
> like ... uhm ... how old is bsd4.3?

Yep, my bad. fsync should do the job.

So, then, I wonder why we are doing sync() at all. Is it because of the 
rename?

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic