A closed file has no handle so that fsync() call does nothing. On Thu, Jan 3, 2013 at 7:15 PM, Duane <duane.hebert at group-upc.com> wrote: > After copying I close the target and then use fsync(target.handle()). > If I remove the USb stick right away, it still doesn't work.