Autodetect disk partitions.