FindPartitionByVolume
status_t FindPartitionByVolume(const BVolume& volume,
if (roster.FindPartitionByVolume(volume, &device, NULL) == B_OK) {
ret = roster.FindPartitionByVolume(volume, &diskDevice, &partition);
if(roster.FindPartitionByVolume(bootVolume, &bootDevice, NULL) != B_OK) {
&& FindPartitionByVolume(volume, device, _partition) == B_OK)
status = roster.FindPartitionByVolume(volume, &diskDevice, &partition);