diff options
| author | Toomas Soome <tsoome@me.com> | 2019-11-18 16:42:05 +0200 |
|---|---|---|
| committer | Toomas Soome <tsoome@me.com> | 2019-11-26 17:13:52 +0200 |
| commit | a64e1e23aa6dde2e865402bb20dde999f835fdc5 (patch) | |
| tree | 1c3c24f5bc8fd17bb03bbdb98d3310d11a2fcf6b /usr/src | |
| parent | d30992fa3989ef47543839be59b8c86165285ec4 (diff) | |
| download | illumos-joyent-a64e1e23aa6dde2e865402bb20dde999f835fdc5.tar.gz | |
11996 format: modify should not ask for GPT partition 7
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
| -rw-r--r-- | usr/src/cmd/format/modify_partition.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/cmd/format/modify_partition.c b/usr/src/cmd/format/modify_partition.c index 365dc9462f..8f4905b594 100644 --- a/usr/src/cmd/format/modify_partition.c +++ b/usr/src/cmd/format/modify_partition.c @@ -564,7 +564,8 @@ get_user_map_efi(map, float_part) reserved = efi_reserved_sectors(map); for (i = 0; i < map->efi_nparts - 1; i++) { - if (i == float_part) + /* GPT partition 7 is whole disk device, minor node "wd" */ + if (i == float_part || i == 7) continue; ioparam.io_bounds.lower = start_lba; |
