Add some basic partitions handling. Still some work to do.