main: unmount everything when starting up in installer mode
this fixes an issue where our pathes were already mounted, and thus triggering
a "device or resource busy" error
utility: add static functions for sorting path lists
utility: when calling umount_all(), sort the paths list in
descending order. this make it no longer necessary to handle
the root path as a special case.
utility: move dirs_count() to global header.
format: drop special sorting case for root path.
it is replaced by generic qsort sorting logic, which handles the
original case as well as allowing the possibility of having non-root
directories being setup at install time.
format/utility: replace sorting logic with simpler subtraction.
same logic as old expression but more compact.
preconfig: integrate the 2 path preparation functions
they now function off one loop. the directories are
created and mounted within the same loop now. also,
the list of directories has been manually sorted to
follow the new sorting logic.
format: fix the appearance of UI dialog progress text when formatting
Merge branch 'master' of git.frugalware.org:/pub/other/fvbe/fvbe into efi