Adding sync calls after unmount to flush pending changes to disk.
Adding sync calls after unmount to flush pending changes to disk.
Adding sync calls after unmount to flush pending changes to disk.
Merge pull request #16 from jeremyje/fixkpartx

Add sync calls to kpartx and mount calls to avoid lockups.