diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-03 23:19:13 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-06-03 23:19:13 +0200 |
commit | 137a762eca0389d91a14f830cb1e29b1d483a112 (patch) | |
tree | 881ce22ee2dc50c3b8e63199013c01c2fa56eb94 /sys/src/cmd/python/Objects/bufferobject.c | |
parent | 1a1863e5dc8913e47b16e44499a3cc735aead394 (diff) |
disk/edisk: fix blank mode
there where two problems with blank (-b flag):
we did not update the backup header when there was already a valid
backup header in place. we always want to initialize a new backup header
in blank mode!
we now also check the backup header matches the primary (or the other
way arround depending on which header could be read), reporting any
mismatches and restoring the backup from the data of the primary.
the protective mbr needs to start at sector 1 not 0 (apparently, this
matters for ovmf).
Diffstat (limited to 'sys/src/cmd/python/Objects/bufferobject.c')
0 files changed, 0 insertions, 0 deletions