Project

General

Profile

Actions

Bug #2741

closed

format shouldn't allow write SMI label to disk with EFI partition

Added by Alexander Eremin over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
cmd - userland programs
Start date:
2012-05-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

If disk has an EFI partition, but efi label is missing, format allows to write SMI label (and think that disk has SMI label):
(after clearing efi label with dd):
format> la
[0] SMI Label
[1] EFI Label
Specify Label type [0]: 0
Ready to label disk, continue? y
format>
And disk with EFI partition gets it senseless SMI label.
Before writing SMI label, format should call existing warning about deleting EFI partition and creating new Solaris partition.

Also if disk has no label but EFI partition and user selected EFI label, format reports that the disk has a SMI label, that's wrong.

Actions

Also available in: Atom PDF