* rewrote quite some stuff to use an enum to indentify filesystems instead of stringcomparisons.
* lots of stuff and cleanups, including fixing getting used/unused space of hfs/hfs+/fat16/fat32 * also fixes bug #161362