Hi Sameer,
Sameer Naik wrote: > I have added support for ntfs partitions via ntfs-3g (2010.8.8 > release), and i am able to mount ntfs partitions. However if i copy a > file to a destination which is a ntfs partition, the above test fails. > i.e. after disconnecting, reconnecting and mounting the ntfs > partition, the file does not exist. Which leads me to believe that the > fsync() call is not working as expected. > Can you make a try with 2010.8.8AA.2 from http://b.andre.pagesperso-orange.fr/ntfs-3g-2010.8.8AA.2.tgz Note : currently ntfs-3g does not sort the dirty data per file or per type, so the above test version syncs the full device. > Please find attached a sample C application that exhibits this > behaviour. Is there something else that i need to be doing so that the > file gets written out to the disk. > Please add a fflush(outfile) before fsyncing, in order to get the stream buffer contents to be synced. Regards Jean-Pierre ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ ntfs-3g-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
