UEFI boot is coming, so platform-upgrade needs to handle GPT-partitioned devices. (#28)
UEFI boot is coming, so platform-upgrade needs to handle GPT-partitioned devices. (#28)

* Detect removables by looking at the removable flag.

Improve the mechanism that detects the removable SmartOS boot device
such that it directly inspects the "Removable" flag in the diskinfo
output, rather than assuming anything about the transport bus that it
is attached on, since that doesn't seem stable.

* UEFI boot is coming, so handle GPT-labelled boot devices.

For more details, see https://github.com/joyent/rfd/tree/master/rfd/0156

calmh/smartos-platform-upgrade