On Sunday, November 06, 2011 8:21 AM, "Amos Shapira" <amos.shapira at gmail.com> wrote: > On 6 November 2011 08:12, Diego <elcuco at kde.org> wrote: > > * disk is umounted using system("umount /data"), and then I call from C to > > sync(); > > > > Why not a direct umount(2) call? Do you check the return value of system()?