Please find attached.
P.S. I have added the fflush () call before the fsync () call.
Regards
~Sameer
2010/9/15 Jean-Pierre André :
> Hi,
>
> JD wrote:
>>
>>
>> On 09/15/2010 03:21 AM, ntfs-3g-devel-requ...@lists.sourceforge.net wrote:
>>
>>> Re: fsync() does not write out the file to the disk (Sa
Here is the test i performed:
To test whether the file is being written out to the disk,
- i mount a usb thumb drive
- copy a file into the mounted usb partition and call fsync() before
closing the fd
- when the process is complete, disconnect the pen drive (without umount'ing)
- connect and mount
On 09/16/2010 09:42 AM, Sameer Naik wrote:
> Thanks i will try it out.
>
> On Thu, Sep 16, 2010 at 9:59 PM, JD wrote:
>>
>> On 09/16/2010 03:00 AM, Sameer Naik wrote:
>>> Please find attached.
>>> P.S. I have added the fflush () call before the fsync () call.
>>>
>>> Regards
>>> ~Sameer
>> Well,
On 09/16/2010 01:21 PM, JD wrote:
>
>
> On 09/16/2010 09:42 AM, Sameer Naik wrote:
>> Thanks i will try it out.
>>
>> On Thu, Sep 16, 2010 at 9:59 PM, JD wrote:
>>>
>>> On 09/16/2010 03:00 AM, Sameer Naik wrote:
Please find attached.
P.S. I have added the fflush () call before the fsyn