Do not fix a write-mounted partition

@baruch baruch released this Nov 15, 2015 · 12 commits to master since this release

When a partition is write mounted do not attempt to fix it as it will mess the filesystem.

Also fix building on Debian/kFreeBSD.

Switch to CMake and small fixes

@baruch baruch released this Nov 13, 2015 · 20 commits to master since this release

  • Switched to CMake as the build system, it is more common than ninja-build and so more useful for those who build by hand (sysadmins).
  • Fix build issues on FreeBSD.
  • Fix disk on 4k granularity to avoid overwriting areas that are usable, this is useful on media errors.