29c9a2518c
Based on the block device type we can expect a specific naming convention. With this in mind update efi_get_info() to be more aware of the type when parsing out the partition number. In, addition be aware that all block device types are not partitionable. Finally, when attempting to lookup a device partition by appending the partition number to the whole device take in to account the kernel naming scheme. If the last character of the device name is a digit the partition will always be 'p#' instead of just '#'. |
||
---|---|---|
.. | ||
zdb | ||
zfs | ||
zinject | ||
zpool | ||
ztest | ||
Makefile.am |