commit | 1c63624db794cf7c4d2ac0d2338a9104b2227fbd | [log] [tgz] |
---|---|---|
author | Kever Yang <kever.yang@rock-chips.com> | Sat Feb 10 17:55:37 2018 +0800 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 13 21:46:05 2018 -0400 |
tree | b1bd452a3073a439f12822ec288487ad9953153e | |
parent | 574f457822e3a8e913d96c120341ca565b5248a7 [diff] |
disk: part: scan the disk if the part_type is unknown If a DUT do not have partition table, and we write one with 'gpt write' cmd, we should able to list the partition with 'part list' cmd. It's reasonable to scan the disk again if the initial part_type is unknown in case we just write a new one into disk. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>