`gpart show` and secondary GPT header

From: Alexander Best <alexbestms_at_math.uni-muenster.de>
Date: Sat, 13 Jun 2009 20:53:08 +0200 (CEST)
hi there,

i already posted this message to freebsd-questions but didn't get any reply.
that's why i'm sending it to freebsd-current.

i have a question about gpart. when id do `gpart show ad0` i get the following
output:

=>       34  488394988  ad0  GPT  (233G)
         34   20971486    1  freebsd-swap  (10G)
   20971520  467423502    2  freebsd-ufs  (223G)

which is just what i want. however i'm a bit curious about the GPT header.
only the primary header from 0 - 33 is being shown. what about the
secondary/backup GPT header. is it present and just now shown by gpart or
doesn't it exist at all? if it's just not shown it would be great if gpart had
a verbose switch or something like that.

because in 7-STABLE e.g. `pt show ad0` also displays the secondary GPT header
at the end of the disk.

cheers.

...oh...and i'm running HEAD (r193846M). ;)
Received on Sat Jun 13 2009 - 16:53:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC