modified command to read out partitions