plan9fox/sys
cinap_lenrek 137a762eca 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).
2015-06-03 23:19:13 +02:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: What's wrong with the obvious? 2015-05-15 21:08:37 -04:00
include ape: include <sys/types.h> in <sys/wait.h> for pid_t (thanks jens staal) 2015-05-27 21:48:42 +02:00
lib rootstub: do not create pkg directories 2015-05-25 15:04:30 -04:00
man prep(8): document disk/edisk 2015-05-31 14:15:49 +02:00
src disk/edisk: fix blank mode 2015-06-03 23:19:13 +02:00