fsync and ksem Thanks Ezeekiel