get_block_for_drive
Description:
Gets a block device corresponding to drive.
The returned block device, if any, is for the whole disk drive, e.g. a partition block device is never returned.
Set get_physical to true if you need a block device that you can send low-level SCSI commands with (for multipath,
this returns one of the physical paths). Set it to false if you need a block device that you can read/write data with (for
multipath, this returns the mapped device).
Parameters:
| this |
A Client. |
| drive |
A Drive. |
| get_physical |
|
Returns:
|
A Block or |