On Sunday, November 06, 2011 8:21 AM, "Amos Shapira" <amos.shap...@gmail.com> wrote: > On 6 November 2011 08:12, Diego <elc...@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()? _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il