With asynchronous disk scanning, it's quite common for the partitionreport to be interrupted by reports of other discs being discovered.Use a new function, print_partition, to accumulate the partitions intoa stringbuf.